Skip to content

Instantly share code, notes, and snippets.

@adahl
Created April 30, 2011 21:35
Show Gist options
  • Save adahl/950017 to your computer and use it in GitHub Desktop.
Save adahl/950017 to your computer and use it in GitHub Desktop.
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
if ARGV.grep(/rubber:/).empty?
require File.expand_path('../config/application', __FILE__)
Pithos::Application.load_tasks
else
load File.join(File.dirname(__FILE__), 'lib/tasks/rubber.rake')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment