displays error when coffee-script is not installed

This commit is contained in:
Corey Johnson
2011-08-19 09:48:08 -07:00
parent 8bf12cdcc6
commit 403b026bf6

View File

@@ -1,4 +1,6 @@
#!/bin/sh
hash coffee 2>&- || { echo >&2 "error: Coffee is required but it's not installed (http://jashkenas.github.com/coffee-script/)."; exit 1; }
PATH="$PATH:/usr/local/bin/"
coffee -o "$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/Resources/" HTML/*.coffee