Updated makefile

This commit is contained in:
Eduard Urbach 2017-07-06 01:01:04 +02:00
parent f6f159fc41
commit ae27c50c1f

View File

@ -6,6 +6,7 @@ GOINSTALL=$(GOCMD) install
GOTEST=$(GOCMD) test GOTEST=$(GOCMD) test
BUILDJOBS=@./jobs/build.sh BUILDJOBS=@./jobs/build.sh
BUILDPATCHES=@./patches/build.sh BUILDPATCHES=@./patches/build.sh
TSCMD=@tsc
IPTABLES=@sudo iptables IPTABLES=@sudo iptables
server: server:
@ -14,6 +15,8 @@ jobs:
$(BUILDJOBS) $(BUILDJOBS)
patches: patches:
$(BUILDPATCHES) $(BUILDPATCHES)
js:
$(TSCMD)
install: install:
$(GOINSTALL) $(GOINSTALL)
test: test:
@ -24,6 +27,7 @@ versions:
@go version @go version
@asd --version @asd --version
assets: assets:
$(TSCMD)
@pack @pack
depslist: depslist:
$(GOCMD) list -f {{.Deps}} | sed -e 's/\[//g' -e 's/\]//g' | tr " " "\n" $(GOCMD) list -f {{.Deps}} | sed -e 's/\[//g' -e 's/\]//g' | tr " " "\n"