Adds a source-package and uglify targets to the makefile.
This commit is contained in:
parent
b0795e5db9
commit
2dbd80c048
10
Makefile
10
Makefile
|
@ -25,3 +25,13 @@ deploy:
|
||||||
cp $(OUTPUT_DIR)/*.bundle.js $(DEPLOY_DIR) && \
|
cp $(OUTPUT_DIR)/*.bundle.js $(DEPLOY_DIR) && \
|
||||||
./bump-js-versions.sh && \
|
./bump-js-versions.sh && \
|
||||||
([ ! -x deploy-local.sh ] || ./deploy-local.sh)
|
([ ! -x deploy-local.sh ] || ./deploy-local.sh)
|
||||||
|
|
||||||
|
uglify:
|
||||||
|
uglifyjs libs/app.bundle.js -o libs/app.bundle.min.js --source-map libs/app.bundle.js.map
|
||||||
|
rm -f libs/app.bundle.js
|
||||||
|
|
||||||
|
source-package:
|
||||||
|
mkdir -p source_package/jitsi-meet && \
|
||||||
|
cp -r analytics.js app.js css external_api.js favicon.ico fonts images index.html interface_config.js libs plugin.*html sounds title.html unsupported_browser.html LICENSE config.js lang source_package/jitsi-meet && \
|
||||||
|
(cd source_package ; tar cjf ../jitsi-meet.tar.bz2 jitsi-meet) && \
|
||||||
|
rm -rf source_package
|
||||||
|
|
Loading…
Reference in New Issue