makefile: add "devel" target

This commit is contained in:
mappu 2017-12-10 14:19:42 +13:00
parent d1007bb645
commit 758ba9a457

View File

@ -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
#