From 9358f062ef1bfec978436db16a878bcded1fc16b Mon Sep 17 00:00:00 2001 From: damencho Date: Fri, 22 Jan 2016 11:19:56 -0600 Subject: [PATCH] Updates dependencies on make. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 314a8405c..6ecdfab99 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +NPM = npm BROWSERIFY = ./node_modules/.bin/browserify UGLIFYJS = ./node_modules/.bin/uglifyjs EXORCIST = ./node_modules/.bin/exorcist @@ -5,7 +6,7 @@ GLOBAL_FLAGS = OUTPUT_DIR = . DEPLOY_DIR = ../../jitsi-meet -all: compile uglify deploy +all: update-deps compile uglify deploy compile:FLAGS = $(GLOBAL_FLAGS) compile: app @@ -15,6 +16,9 @@ debug: compile-debug source-maps uglify-debug deploy compile-debug:FLAGS = -d $(GLOBAL_FLAGS) compile-debug: app +update-deps: + $(NPM) update + app: $(BROWSERIFY) $(FLAGS) JitsiMeetJS.js -s JitsiMeetJS -o $(OUTPUT_DIR)/lib-jitsi-meet.js