Created
October 30, 2012 22:32
-
-
Save NZKoz/3983540 to your computer and use it in GitHub Desktop.
Build thing we do
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/sprockets -I path/to/Assets/ path/to/Assets/main.js path/to/Assets/main.css -o $TEMP_DIR/assets | |
/usr/bin/yuicompressor --type js $TEMP_DIR/assets/main*js > $SRCROOT/Assets/Generated/main.min.js | |
/usr/bin/yuicompressor --type css $TEMP_DIR/assets/main*css > $SRCROOT/Assets/Generated/main.min.css | |
cp -r $TEMP_DIR/assets/*png $SRCROOT/Assets/Generated/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
*= require blah_blah | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//= require jquery | |
//= require some_js_file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment