1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 08:48:06 +08:00
ContextOS/Makefile
2020-11-26 21:50:22 +08:00

11 lines
297 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/$@