Added makefile

This commit is contained in:
Martin Eskdale Moen 2020-05-02 15:46:44 +01:00
parent 2d7447c32c
commit 18a6b1c719

7
Makefile Normal file
View File

@ -0,0 +1,7 @@
.PHONY: all build
all: build
build:
GGO_ENABLED=0 GOOS=linux packr build -a -ldflags="-s -w" -o dist/dsnet ./cmd/dsnet.go
upx dist/dsnet