|
|
@ -1,8 +1,9 @@ |
|
|
|
NPM = npm
|
|
|
|
|
|
|
|
BROWSERIFY = browserify
|
|
|
|
BROWSERIFY = browserify
|
|
|
|
|
|
|
|
DEPLOY_DIR = libs
|
|
|
|
GLOBAL_FLAGS = -x jquery -e
|
|
|
|
GLOBAL_FLAGS = -x jquery -e
|
|
|
|
|
|
|
|
NPM = npm
|
|
|
|
OUTPUT_DIR = .
|
|
|
|
OUTPUT_DIR = .
|
|
|
|
DEPLOY_DIR = libs
|
|
|
|
UGLIFYJS = uglifyjs
|
|
|
|
|
|
|
|
|
|
|
|
all: compile deploy clean uglify |
|
|
|
all: compile deploy clean uglify |
|
|
|
|
|
|
|
|
|
|
@ -27,7 +28,7 @@ deploy: |
|
|
|
([ ! -x deploy-local.sh ] || ./deploy-local.sh)
|
|
|
|
([ ! -x deploy-local.sh ] || ./deploy-local.sh)
|
|
|
|
|
|
|
|
|
|
|
|
uglify: |
|
|
|
uglify: |
|
|
|
uglifyjs -p relative libs/app.bundle.js -o libs/app.bundle.min.js --source-map libs/app.bundle.js.map --source-map-url=app.bundle.js.map
|
|
|
|
$(UGLIFYJS) -p relative libs/app.bundle.js -o libs/app.bundle.min.js --source-map libs/app.bundle.js.map --source-map-url=app.bundle.js.map
|
|
|
|
|
|
|
|
|
|
|
|
source-package: |
|
|
|
source-package: |
|
|
|
mkdir -p source_package/jitsi-meet && \
|
|
|
|
mkdir -p source_package/jitsi-meet && \
|
|
|
|