For understanding in the following, read: http://martinfowler.com/articles/rake.html
I recently used Rake (with Albacore) and I like it. Mostly the power of having a Ruby language at hand when I need it.
I have to admit that I am much more at home with C #, and this makes me think if there is an equivalent to Rake in the .NET world.
I am looking for a way to write build scripts in C # or possibly DSL having the same dependency programming model where I can also use C #.
Maybe I left the base by asking this question. But if it is possible to do this with Ruby (and internal DSL), then I cannot say right away why the same will not be possible for C #. And I, of course, do not understand why this has not yet been done :-)
Does anyone have some perspectives on this?
What we already know:
- C # needs to be compiled to run, so we will need to create a separate build-script file that will be parsed and compiled at runtime by an executable file.
Thanks in advance!
Decision
Using "Cake" http://cakebuild.net/ - with the Roslyn compiler, what I wanted (years ago) is now possible. Thanks to Microsoft. And thanks to the people who wrote Cake.
An alternative is to use Powershell. The library is called Psake (saké)
source share