From 18a6b1c7198f2e24250538244c86001b0b27b257 Mon Sep 17 00:00:00 2001 From: Martin Eskdale Moen Date: Sat, 2 May 2020 15:46:44 +0100 Subject: [PATCH] Added makefile --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6adda9f --- /dev/null +++ b/Makefile @@ -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