export CSSPATH="../css"
export JSPATH="../js"

# Combine css into one file
cat $CSSPATH/jquery.mobile-1.0a2.css $CSSPATH/custom.css $CSSPATH/spinningwheel.css > $CSSPATH/att-prod.css;

# run yui compressor over the combined file
java -jar yuicompressor-2.4.2.jar --type css $CSSPATH/att-prod.css > $CSSPATH/att-prod.min.css;

# combine all of the files that aren't likely to change into one file
cat $JSPATH/jquery-1.4.4.js $JSPATH/jquery.mobile-1.0a2.js $JSPATH/custom.js $JSPATH/spinningwheel.js > $JSPATH/att-prod.js;

# run yui compressor over the combined file
java -jar yuicompressor-2.4.2.jar $JSPATH/att-prod.js > $JSPATH/att-prod.min.js;

echo "Everything worked!"
