wxgzh
This commit is contained in:
7
Makefile
7
Makefile
@@ -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/
|
||||
Reference in New Issue
Block a user