Closed ahutchings closed 10 years ago
@ahutchings sorry for late response. I can't merge this PR because the diff doesn't show the differences clearly, and it adds coffee-script as dependency. Many people wouldn't want to download prova when they don't use coffee-script.
The solution would be to create a new package called "prova-coffee" which gives a command-line client that supports coffee-script.
You can require this module: https://github.com/azer/prova/blob/master/lib/cli.js (the run
function does the thing)
This makes it so that you can run something like
prova test/*.coffee
from the command line.npm sorted the dependencies in package.json when I added the coffee-script dependency. I can revert that part if you'd like.