jashkenas/coffee-script — Issue #2073: Compiler silently fails when .svn directories/files are present.
Author: danieldbower
Created: 2012-01-27 20:54:29+00:00
State: open

I've noticed this behavior with the coffeescript compiler.

coffee --join test.js --output /tmp/ --compile /my/directory/of/coffee/files

It will fail silently if there is an .svn directory in it.

You can get around it by specifying to look for just coffee files (provided you name your coffee files in this manner)

coffee --join test.js --output /tmp/ --compile /my/directory/of/coffee/files/*.coffee

If you have multiple directories, you can specify each of them

coffee --join test.js --output /tmp/ --compile /my/directory/of/coffee/files/abc/*.coffee /my/directory/of/coffee/files/def/*.coffee

This is likely to break down if you have more nesting.