makefile -- use npm --prefix syntax instead of doing cd into subdir

This commit is contained in:
Eugene Bujak 2018-09-07 16:14:25 +03:00
parent 1b5748e328
commit 659b530381
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@ all: build
build: AdguardDNS coredns build: AdguardDNS coredns
$(STATIC): $(STATIC):
cd client; npm install npm --prefix client install
cd client; npm run build-prod npm --prefix client run build-prod
AdguardDNS: $(STATIC) *.go AdguardDNS: $(STATIC) *.go
echo mkfile_dir = $(mkfile_dir) echo mkfile_dir = $(mkfile_dir)