Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Updates the Makefile. It calls npm update before building the project.

George Politis2852740e7123
diff --git a/Makefile b/Makefile
index 796f4d4c3a..6dfb69f726 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,4 @@
+NPM = npm
BROWSERIFY = browserify
GLOBAL_FLAGS = -x jquery -e
OUTPUT_DIR = .
@@ -14,7 +15,7 @@ compile-debug:FLAGS = -d $(GLOBAL_FLAGS)
compile-debug: app
app:
- $(BROWSERIFY) $(FLAGS) app.js -s APP -o $(OUTPUT_DIR)/app.bundle.js
+ $(NPM) update && $(BROWSERIFY) $(FLAGS) app.js -s APP -o $(OUTPUT_DIR)/app.bundle.js
clean:
@rm -f $(OUTPUT_DIR)/*.bundle.js