Selaa lähdekoodia

Adds a source-package and uglify targets to the makefile.

j8
Boris Grozev 9 vuotta sitten
vanhempi
commit
2dbd80c048
1 muutettua tiedostoa jossa 10 lisäystä ja 0 poistoa
  1. 10
    0
      Makefile

+ 10
- 0
Makefile Näytä tiedosto

25
 	cp $(OUTPUT_DIR)/*.bundle.js $(DEPLOY_DIR) && \
25
 	cp $(OUTPUT_DIR)/*.bundle.js $(DEPLOY_DIR) && \
26
 	./bump-js-versions.sh && \
26
 	./bump-js-versions.sh && \
27
 	([ ! -x deploy-local.sh ] || ./deploy-local.sh)
27
 	([ ! -x deploy-local.sh ] || ./deploy-local.sh)
28
+
29
+uglify:
30
+	uglifyjs libs/app.bundle.js -o libs/app.bundle.min.js --source-map libs/app.bundle.js.map
31
+	rm -f libs/app.bundle.js
32
+
33
+source-package:
34
+	mkdir -p source_package/jitsi-meet && \
35
+	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 && \
36
+	(cd source_package ; tar cjf ../jitsi-meet.tar.bz2 jitsi-meet) && \
37
+	rm -rf source_package

Loading…
Peruuta
Tallenna