makefile -- use npm --prefix syntax instead of doing cd into subdir
This commit is contained in:
parent
1b5748e328
commit
659b530381
4
Makefile
4
Makefile
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue