makefile: add "devel" target
This commit is contained in:
parent
d1007bb645
commit
758ba9a457
5
Makefile
5
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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user