Browse Source

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.
master
damencho 9 years ago
parent
commit
3e473ea9d7
2 changed files with 2 additions and 1 deletions
  1. 1
    1
      Makefile
  2. 1
    0
      README.md

+ 1
- 1
Makefile View File

13
 all: update-deps compile compile-iframe-api uglify uglify-iframe-api deploy clean
13
 all: update-deps compile compile-iframe-api uglify uglify-iframe-api deploy clean
14
 
14
 
15
 update-deps:
15
 update-deps:
16
-	$(NPM) install
16
+	$(NPM) update
17
 
17
 
18
 compile:
18
 compile:
19
 	$(BROWSERIFY) $(BROWSERIFY_FLAGS) -e app.js -s APP | $(EXORCIST) $(OUTPUT_DIR)/app.bundle.js.map > $(OUTPUT_DIR)/app.bundle.js
19
 	$(BROWSERIFY) $(BROWSERIFY_FLAGS) -e app.js -s APP | $(EXORCIST) $(OUTPUT_DIR)/app.bundle.js.map > $(OUTPUT_DIR)/app.bundle.js

+ 1
- 0
README.md View File

66
 ```
66
 ```
67
 
67
 
68
 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.
68
 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.
69
+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.
69
 
70
 
70
 If you do not want to use local repository anymore you should run
71
 If you do not want to use local repository anymore you should run
71
 ```bash
72
 ```bash

Loading…
Cancel
Save