forked from strandedcity/makeItZoom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_with_closure.sh
executable file
·37 lines (33 loc) · 1.16 KB
/
build_with_closure.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/sh
echo "Compiling makeItZoom without dependencies..."
java -jar compiler.jar \
--js \
src/threejs_files/Three.js \
src/threejs_files/Vector2.js \
src/threejs_files/Vector3.js \
src/threejs_files/Quaternion.js \
src/threejs_files/Matrix4.js \
src/threejs_files/EventDispatcher.js \
src/threejs_files/Math.js \
src/threejs_files/Object3D.js \
src/threejs_files/Camera.js \
src/threejs_files/PerspectiveCamera.js \
src/threejs_files/Scene.js \
src/js/CSS2DRenderer.js \
src/js/ZoomControls.js \
src/js/makeItZoom.js \
--js_output_file dist/makeItZoom_0.0.1.min.js \
--language_in ECMASCRIPT5 \
--compilation_level ADVANCED_OPTIMIZATIONS \
--warning_level QUIET
echo "Compiling makeItZoom with Three.js dependency..."
java -jar compiler.jar \
--js \
src/js/CSS2DRenderer.js \
src/js/ZoomControls.js \
src/js/makeItZoom.js \
--js_output_file dist/makeItZoom_0.0.1_requires_three.min.js \
--language_in ECMASCRIPT5 \
--compilation_level SIMPLE_OPTIMIZATIONS \
--warning_level QUIET
echo "Done Minifying."