Fed up with XML based builds that are hard to maintain, refactor and extend? Rather than trying to fix this with more xml and community tasks, or re-invent the wheel, let's use Rake. Rake is a mature build system developed by the ruby community which can be applied equally well in the .NET world.
To help you get started quickly, I've put together nRake. nRake provides a template C# .NET solution with a nice directory structure (src, tools, lib, etc), a Rake build, NUnit tests, templated app and web configs for different environments (eg, dev, uat, prod, etc) and Continuous Integration server sample config files. It comes with everything you need - no additional libraries or downloads required, and all the plumbing work has been done for you.
How to use
- Git clone or Download nRake as a Zip
- Rename PlaceHolder app and tests to reflect your project
- Run rake in the root of the project. This will clean, compile, template config files and run unit tests.
- Start developing your app! How easy was that 🙂
Note: nRake currently uses Ruby 1.9 since IronRuby start up time was prohibitively slow. Hopefully IronRuby will get faster, and then nRake can make use of it. Also nRake uses the Albacore Gem for .NET build tasks. Documentation on Albacore tasks here.
Also check out the IronRuby update!