Skip to content

Instantly share code, notes, and snippets.

@james2doyle
Created February 19, 2013 17:50
Show Gist options
  • Save james2doyle/4988169 to your computer and use it in GitHub Desktop.
Save james2doyle/4988169 to your computer and use it in GitHub Desktop.
A small bash script that will concatenate a bunch of file then compress and minify them using cleancss from node.
#!/usr/bin/env bash
cat bootstrap.css superfish.css template.css updates.css responsive-devices.css flexslider.css shadows.css prettyPhoto.css | cleancss -o styles.min.css
echo "merged and minified"
sublime styles.min.css
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment