Category Archives: Rake

Git post-merge hook to auto-fire rails migrations

I saw Scott Bellware recently write on twitter: for christmas, i really want a git hook to detect if an update has changes in the db/migrations folder Cory Foy, Aaron Jensen, and myself all responded in turn. I think Cory … Continue reading 

Also posted in .NET, C#, Data Access | 2 Comments

Albacore: All A-Twitter With A New Logo, Tag Line, And URL

There’s been a lot of fun things happening with Albacore over the holiday weekend. The Discussion Group First, there was the Google Groups announcement to coordinate the community. It’s taken off fairly well with our first call for help, and … Continue reading 

Also posted in Albacore, Community, Ruby | Leave a comment

Albacore: Come join the discussion!

There’s been a whirlwind of activity around the Albacore rake tasks recently. Steve Harman has started using it at VersionOne. Ben Hall has been contributing some great patches and tasks. My friends and former coworkers at my previous job are … Continue reading 

Also posted in Albacore, Community, Ruby | 3 Comments

Albacore: Breaking Changes In Location Of Executables

I was working on cleaning up Albacore this weekend, and I noted that both the NCoverConsole and MSBuild tasks in Albacore both require the location of the .exe, to execute. The MSBuild task defaults itself to the .NET 3.5 SP1 … Continue reading 

Also posted in Albacore, Refactoring, Ruby | 2 Comments

Albacore AssemblyInfo Task vs. Nant Assembly Info Generator

Here’s one of the reasons I like Rake and my custom Rake tasks that I’m building into Albacore, so much. To generate some assembly information such as version, company name, copyright, etc., you need to do this with nant: 1: … Continue reading 

Also posted in .NET, Albacore, Productivity, Ruby | 10 Comments

Albacore: A Suite Of Rake Build Tasks For .NET Solutions

After my previous post on building a “real” rake task, I decided to dive in head first and learn how to get this stuff done. I chose to drive the tasks out via rspec, through a TDD process, and I … Continue reading 

Also posted in .NET, Albacore, C#, Continuous Integration, Git, Ruby | 9 Comments

Help! E-Text Editor Can’t Run My Rake Tasks…

I downloaded the E-Text Editor to work with my ruby / rake stuff, because it’s a great editor and because it supports all of the TextMate bundles. The idea is that I should be able to run all of my … Continue reading 

Also posted in Ruby | 5 Comments

An Alternate Way To Handle Task Dependencies In Custom Rake Tasks

Earlier today, I showed how to create a custom Rake task from the base TaskLib, so that we can use more than just simple “task :name” syntax for our rake tasks. In that example, I showed how to add explicit … Continue reading 

Also posted in Craftsmanship, Lambda Expressions, Ruby | 1 Comment

How A .NET Developer Hacked Out A Rake Task

I spent the last two days having my brain melted by Scott Bellware, in a crash course on Ruby, Rake, RSpec, Selenium, web UI test automation best practices, and all-around uber-normal-person-language-oriented development. It was great! After the first 7 hour … Continue reading 

Also posted in .NET, C#, Craftsmanship, Lambda Expressions, Ruby | 4 Comments

How A .NET Developer Learned Ruby And Rake, To Build .NET Apps In Windows

I recently decided it was time for me to learn Ruby and Rake – with the specific goal of replacing my NAnt scripts in some projects, due to the high level of complexity and logic that I need in the … Continue reading 

Also posted in .NET, Continuous Integration, Education, Ruby | 10 Comments