#!/bin/bash set -e; COFFEE=node_modules/.bin/coffee echo Compiling test/acceptance/coffee; $COFFEE -o test/acceptance/js -c test/acceptance/coffee; for dir in modules/*; do if [ -d $dir/test/acceptance ]; then echo Compiling $dir/test/acceptance/coffee; $COFFEE -o $dir/test/acceptance/js -c $dir/test/acceptance/coffee; fi done