forked from x/ContextOS
12 lines
298 B
Makefile
12 lines
298 B
Makefile
export GOPROXY=https://goproxy.cn
|
|
export GOPRIVATE=github.com
|
|
export CGO_ENABLED=0
|
|
|
|
all:
|
|
@echo && date
|
|
go build -v -o bin/ice.bin src/main.go && chmod u+x bin/ice.bin && ./bin/ice.sh restart
|
|
|
|
relay: src/relay.go
|
|
@echo && date
|
|
go build -v -o usr/publish/$@ src/$@.go && chmod u+x usr/publish/$@
|