From 2d441f9f908696363e9c29f3edb3d96c0bcfb3f2 Mon Sep 17 00:00:00 2001 From: Achilles Rasquinha Date: Sun, 25 Mar 2018 19:40:42 +0530 Subject: [PATCH] [FIX] Add npm, yarn executable --- Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 1f06736..5e832ce 100644 --- a/Makefile +++ b/Makefile @@ -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 \