Ver código fonte

[FIX] Add npm, yarn executable

tags/1.2.0
Achilles Rasquinha 7 anos atrás
committed by Prateeksha Singh
pai
commit
2d441f9f90
1 arquivos alterados com 2 adições e 7 exclusões
  1. +2
    -7
      Makefile

+ 2
- 7
Makefile Ver arquivo

@@ -15,16 +15,11 @@ build:
install.dep:
ifeq ($(shell command -v yarn),)
@echo "Installing yarn..."

$(eval npm := $(shell command -v npm))
$(npm) install -g yarn
npm install -g yarn
endif

$(eval yarn := $(shell command -v yarn))

install: install.dep
$(yarn) \
--cwd $(BASEDIR)
yarn --cwd $(BASEDIR)

test:
NODE_ENV=test \


Carregando…
Cancelar
Salvar