From 114da3676124c6934617c28be1e2742cf3025d38 Mon Sep 17 00:00:00 2001 From: Sylvain Nieuwlandt Date: Sat, 18 Jan 2020 15:37:54 +0100 Subject: [PATCH] Automatically install dev dependencies --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 99853dd..a702174 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,14 @@ watch: build fswatch -0 three.js/src/*/*.js aframe/src/*.js babylon.js/src/*.js | xargs -0 -n 1 -I {} make build +prepare: + npm install + build: cd three.js && make build cd aframe && make build -minify: +minify: prepare cd three.js && make minify cd aframe && make minify -- GitLab