Updates readme for working with lib-jitsi-meet sources. Separates deploy make targets for deploying only the lib.

This commit is contained in:
damencho 2016-01-28 17:43:48 -06:00
parent 70346e2307
commit 2c7ee3527a
2 changed files with 43 additions and 10 deletions

View File

@ -20,12 +20,23 @@ compile:
clean: clean:
rm -f $(OUTPUT_DIR)/app.bundle.* rm -f $(OUTPUT_DIR)/app.bundle.*
deploy: deploy: deploy-init deploy-appbundle deploy-lib-jitsi-meet deploy-css deploy-local
mkdir -p $(DEPLOY_DIR) && \
deploy-init:
mkdir -p $(DEPLOY_DIR)
deploy-appbundle:
cp $(OUTPUT_DIR)/app.bundle.min.js $(OUTPUT_DIR)/app.bundle.min.map \ cp $(OUTPUT_DIR)/app.bundle.min.js $(OUTPUT_DIR)/app.bundle.min.map \
$(LIBJITSIMEET_DIR)/lib-jitsi-meet.min.js \ $(DEPLOY_DIR)
$(LIBJITSIMEET_DIR)/lib-jitsi-meet.min.map $(DEPLOY_DIR) && \
(cd css; cat $(CSS_FILES)) | $(CLEANCSS) > css/all.css && \ deploy-lib-jitsi-meet:
cp $(LIBJITSIMEET_DIR)/lib-jitsi-meet.min.js \
$(LIBJITSIMEET_DIR)/lib-jitsi-meet.min.map $(DEPLOY_DIR)
deploy-css:
(cd css; cat $(CSS_FILES)) | $(CLEANCSS) > css/all.css
deploy-local:
([ ! -x deploy-local.sh ] || ./deploy-local.sh) ([ ! -x deploy-local.sh ] || ./deploy-local.sh)
uglify: uglify:

View File

@ -28,6 +28,28 @@ To build the Jitsi Meet application, just type
make make
``` ```
## Working with the library sources(lib-jitsi-meet).
By default the library is build from its git repository sources. The default dependency path in package.json is :
```json
"lib-jitsi-meet": "jitsi/lib-jitsi-meet",
```
To work with local copy you must change the path to:
```json
"lib-jitsi-meet": "file:///Users/name/local-lib-jitsi-meet-copy",
```
To make the project you must force it to take the sources as 'npm update' will not do it.
```
npm install lib-jitsi-meet --force && make
```
Or if you are making only changes to the library:
```
npm install lib-jitsi-meet --force && make deploy-lib-jitsi-meet
```
## Discuss ## Discuss
Please use the [Jitsi dev mailing list](http://lists.jitsi.org/pipermail/dev/) to discuss feature requests before opening an issue on Github. Please use the [Jitsi dev mailing list](http://lists.jitsi.org/pipermail/dev/) to discuss feature requests before opening an issue on Github.