Executes npm update before making.

Executes npm update before making, in order to update latest version of packages like lib-jitsi-meet which are updated from git. The npm install method is supposed to only resolve dependencies and not update to latest versions.
This commit is contained in:
damencho 2016-07-08 10:52:04 -05:00
parent ce5ff20d5b
commit 3e473ea9d7
2 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@ IFRAME_API_DIR = ./modules/API/external
all: update-deps compile compile-iframe-api uglify uglify-iframe-api deploy clean all: update-deps compile compile-iframe-api uglify uglify-iframe-api deploy clean
update-deps: update-deps:
$(NPM) install $(NPM) update
compile: compile:
$(BROWSERIFY) $(BROWSERIFY_FLAGS) -e app.js -s APP | $(EXORCIST) $(OUTPUT_DIR)/app.bundle.js.map > $(OUTPUT_DIR)/app.bundle.js $(BROWSERIFY) $(BROWSERIFY_FLAGS) -e app.js -s APP | $(EXORCIST) $(OUTPUT_DIR)/app.bundle.js.map > $(OUTPUT_DIR)/app.bundle.js

View File

@ -66,6 +66,7 @@ npm link lib-jitsi-meet
``` ```
So now after changes in local `lib-jitsi-meet` repository you can rebuild it with `npm run install` and your `jitsi-meet` repository will use that modified library. So now after changes in local `lib-jitsi-meet` repository you can rebuild it with `npm run install` and your `jitsi-meet` repository will use that modified library.
Note: when using node version 4.x, the make file of jitsi-meet do npm update which will delete the link, no longer the case with version 6.x.
If you do not want to use local repository anymore you should run If you do not want to use local repository anymore you should run
```bash ```bash