Updates dependencies on make.

This commit is contained in:
damencho 2016-01-22 11:19:56 -06:00
parent c7805125bc
commit 9358f062ef
1 changed files with 5 additions and 1 deletions

View File

@ -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