This commit is contained in:
2021-12-20 19:17:24 +08:00
parent 179c6a3afa
commit 0df3603ef2
11 changed files with 470 additions and 27 deletions

View File

@@ -4,7 +4,7 @@ plats = linux darwin
arch ?= amd64
archs = amd64 arm arm64
all: stock
all: stock ss
define build_app
@echo 'building $(1) ...'
@@ -17,6 +17,9 @@ stock:
$(call build_app,stock,$(plat),$(arch))
.PHONY: stock
ss:
$(call build_app,ss,$(plat),$(arch))
.PHONY: ss
clean:
-@rm -f builder/*
@@ -35,4 +38,4 @@ ps:
-@ps -ef | grep ./builder/stock | grep -v grep
push:
-@scp builder/stock root@119.29.105.154:/root/stock/builder/
-@scp builder/* root@119.29.105.154:/root/stock/builder/