We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8853a91 commit adaa0f9Copy full SHA for adaa0f9
build.sh
@@ -1,13 +1,14 @@
1
#!/bin/bash
2
3
+#download yui compressor here
4
#https://github.com/yui/yuicompressor/releases/download/v2.4.8/yuicompressor-2.4.8.jar
5
6
YUI_COMPRESSOR_JAR="/opt/yuicompressor-2.4.8.jar"
7
MINIFIED_FILE="angular-filemanager.min.js"
8
DIR_DIST="assets/js"
9
MINIFIED_PATH="$DIR_DIST/$MINIFIED_FILE"
10
-find assets/js ! -name "$MINIFIED_FILE" -name "*.js" | sort | xargs -I {} cat {} > "$MINIFIED_PATH"
11
+find assets/js ! -name "$MINIFIED_FILE" -name "*.js" | sort | xargs -I "{}" cat "{}" > "$MINIFIED_PATH"
12
#java -jar "$YUI_COMPRESSOR_JAR" "$MINIFIED_PATH" -o "$MINIFIED_PATH"
13
14
echo "Complete at: $MINIFIED_PATH"
0 commit comments