Be able to run go tools without changing PATH

This commit is contained in:
2019-09-11 09:50:12 +09:00
parent 6046410b7d
commit 47e9c39c70
2 changed files with 5 additions and 3 deletions

View File

@ -2,8 +2,8 @@
# Constants
GOTEST=@./utils/test/go-test-color.sh
PACK=$(shell command -v pack 2> /dev/null)
RUN=$(shell command -v run 2> /dev/null)
GOBINARIES=`go env GOPATH`/bin
PACK=$(GOBINARIES)/pack
# Determine the name of the platform
OSNAME=
@ -35,7 +35,7 @@ endif
# compiles assets for the server
assets:
@tsc
@pack
@$(PACK)
# cleans all binaries and generated files
clean: