Updates dependencies on make.
This commit is contained in:
parent
c7805125bc
commit
9358f062ef
6
Makefile
6
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue