Created
January 28, 2011 19:37
-
-
Save ethangardner/800808 to your computer and use it in GitHub Desktop.
Combine Multiple Files using Linux or Cygwin command line
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
#code from article at http://beardscratchers.com/journal/compressing-css-and-javascript-with-yui-compressor | |
JSDIR="./www/js" | |
echo "1. Combining Javascript" | |
# Combine all the javascript to a single temporary file | |
cat $JSDIR/mootools-1.2-core.js \ | |
$JSDIR/mootools-1.2-more.js \ | |
$JSDIR/functions.js \ | |
$JSDIR/common.js > $JSDIR/tmp.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment