creamdog / JurassicCoffee

CoffeeScript Compiler Implementation in .NET
20 stars 4 forks source link

Console App to accept input / output directories instead of single files #5

Closed biofractal closed 11 years ago

biofractal commented 11 years ago

Using the console app in a VS build events requires a separate event per coffee file.

I have changed the input and output command line args to be directories instead of single files. All the *.coffee files found in the input directory are then compiled into the output directory as before.

This allows for a build event like this:

CD "$(SolutionDir)Tools\JurassicCoffee" CALL JurassicCoffee.Console.exe "$(ProjectDir)Coffee" -c -o "$(ProjectDir)Content\coffee-js"

FYI: I am using VS 2012 Express so most of the changes were due to VS upgrading the project file etc. The solution is now VS 2012 compatible.

creamdog commented 11 years ago

thanks :)