Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
whitespace in js bash and ver inplace set expression fix
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbender committed Apr 27, 2012
1 parent 3f22eb1 commit efe3b0b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build/bin/config.sh
Expand Up @@ -4,7 +4,7 @@ HEAD_SHA=$(git log -1 --format=format:"%H")
BUILD_SHA=$(git log -1 --format=format:"Git Build: SHA1: %H <> Date: %cd")
VER_MIN="/*! jQuery Mobile v$BUILD_SHA jquerymobile.com | jquery.org/license !*/"
VER_OFFICIAL=$(cat version.txt)
SED_VER_REPLACE='s/__version__/"$VER_OFFICIAL"/g'
SED_VER_REPLACE="s/__version__/\"$VER_OFFICIAL\"/g"
SED_INPLACE_EXT="whyunowork"

function sed_ver_api {
Expand Down
20 changes: 10 additions & 10 deletions build/bin/js.sh
Expand Up @@ -13,14 +13,14 @@ $RUN_JS \
findNestedDependencies=true \
skipModuleInsertion=true \
optimize=none
cat LICENSE-INFO.txt | ver > $OUTPUT/$NAME.js
cat $OUTPUT/$NAME.compiled.js | sed_ver_api >> $OUTPUT/$NAME.js
rm $OUTPUT/$NAME.compiled.js
echo $VER_MIN > $OUTPUT/$NAME.min.js
java -XX:ReservedCodeCacheSize=64m \
-jar build/google-compiler-20111003.jar \
--js $OUTPUT/$NAME.js \
--js_output_file $OUTPUT/$NAME.compiled.js
cat $OUTPUT/$NAME.compiled.js >> $OUTPUT/$NAME.min.js
rm $OUTPUT/$NAME.compiled.js
cat LICENSE-INFO.txt | ver > $OUTPUT/$NAME.js
cat $OUTPUT/$NAME.compiled.js | sed_ver_api >> $OUTPUT/$NAME.js
rm $OUTPUT/$NAME.compiled.js
echo $VER_MIN > $OUTPUT/$NAME.min.js
java -XX:ReservedCodeCacheSize=64m \
-jar build/google-compiler-20111003.jar \
--js $OUTPUT/$NAME.js \
--js_output_file $OUTPUT/$NAME.compiled.js
cat $OUTPUT/$NAME.compiled.js >> $OUTPUT/$NAME.min.js
rm $OUTPUT/$NAME.compiled.js

0 comments on commit efe3b0b

Please sign in to comment.