From 758ba9a45726a8dc6c1411aed3c9152d2193bfb6 Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 10 Dec 2017 14:19:42 +1300 Subject: [PATCH] makefile: add "devel" target --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c586d52..498f00c 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ GOFLAGS := -ldflags='-s -w -X code.ivysaur.me/archive.SERVER_VERSION=archive/${V # Phony targets # -.PHONY: all dist clean +.PHONY: all dist clean devel all: build/linux64/archive-server build/win32/archive-server.exe @@ -29,6 +29,9 @@ clean: if [ -d ./build ] ; then rm -r ./build ; fi if [ -f ./archive ] ; then rm ./archive ; fi +devel: staticResources.go + ( cd cmd/archive-server ; go build ; ./archive-server -listen "127.0.0.1:8000" ) + # # Generated files #