Skip to content

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

Executes a local (git-ignored) script on "make deploy".

Boris Grozevdeaff6af5b43
diff --git a/.gitignore b/.gitignore
index 92772c563d..c0dc2e1c2f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ node_modules
.idea/
*.iml
.*.tmp
+deploy-local.sh
diff --git a/Makefile b/Makefile
index e37134814f..1dca402b07 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,10 @@ app:
$(NPM) update && $(BROWSERIFY) $(FLAGS) app.js -s APP -o $(OUTPUT_DIR)/app.bundle.js
clean:
- @rm -f $(OUTPUT_DIR)/*.bundle.js
+ rm -f $(OUTPUT_DIR)/*.bundle.js
deploy:
- @mkdir -p $(DEPLOY_DIR) && cp $(OUTPUT_DIR)/*.bundle.js $(DEPLOY_DIR) && ./bump-js-versions.sh
+ mkdir -p $(DEPLOY_DIR) && \
+ cp $(OUTPUT_DIR)/*.bundle.js $(DEPLOY_DIR) && \
+ ./bump-js-versions.sh && \
+ ([ ! -x deploy-local.sh ] || ./deploy-local.sh)