compile_unit_tests 295 B

123456789101112131415
  1. #!/bin/bash
  2. set -e;
  3. COFFEE=node_modules/.bin/coffee
  4. echo Compiling test/unit/coffee;
  5. $COFFEE -o test/unit/js -c test/unit/coffee;
  6. for dir in modules/*;
  7. do
  8. if [ -d $dir/test/unit ]; then
  9. echo Compiling $dir/test/unit/coffee;
  10. $COFFEE -o $dir/test/unit/js -c $dir/test/unit/coffee;
  11. fi
  12. done