8 lines
138 B
Makefile
8 lines
138 B
Makefile
.PHONY: all build
|
|
|
|
all: build
|
|
|
|
build:
|
|
GGO_ENABLED=0 GOOS=linux go build -a -ldflags="-s -w" -o dist/dsnet ./cmd/dsnet.go
|
|
upx dist/dsnet
|