Skip to content

Instantly share code, notes, and snippets.

@Port3M5
Port3M5 / CoffeeUglify.sh
Created September 18, 2011 17:00
A bash script that compiles coffeescript and uglifies it. Requires node.js coffeescript and uglify-js
#!/bin/bash
function printHelp
{
echo "-h displays this page"
echo "-v displays the version information"
echo "-f compiles and minifies a single file"
echo "-d compiles and minifies all files in a directory"
echo "-i checks dependendancies and installs them if node is installed"
}