make goctl work on linux
parent
3c688c319e
commit
431be8ed9d
@ -0,0 +1,4 @@
|
|||||||
|
version := $(shell /bin/date "+%Y-%m-%d %H:%M")
|
||||||
|
|
||||||
|
build:
|
||||||
|
GOOS=linux go build -ldflags="-s -w" -ldflags="-X 'main.BuildTime=$(version)'" goctl.go && upx goctl
|
Loading…
Reference in New Issue