[FIX] Add npm, yarn executable
This commit is contained in:
parent
6ef8175b5a
commit
2d441f9f90
9
Makefile
9
Makefile
@ -15,16 +15,11 @@ build:
|
|||||||
install.dep:
|
install.dep:
|
||||||
ifeq ($(shell command -v yarn),)
|
ifeq ($(shell command -v yarn),)
|
||||||
@echo "Installing yarn..."
|
@echo "Installing yarn..."
|
||||||
|
npm install -g yarn
|
||||||
$(eval npm := $(shell command -v npm))
|
|
||||||
$(npm) install -g yarn
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval yarn := $(shell command -v yarn))
|
|
||||||
|
|
||||||
install: install.dep
|
install: install.dep
|
||||||
$(yarn) \
|
yarn --cwd $(BASEDIR)
|
||||||
--cwd $(BASEDIR)
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
NODE_ENV=test \
|
NODE_ENV=test \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user