lib/baldwin/tasks.rb in baldwin-0.0.1 vs lib/baldwin/tasks.rb in baldwin-0.0.2

- old
+ new

@@ -1,6 +1,7 @@ require 'appraisal' +require 'baldwin' include Rake::DSL namespace :baldwin do @@ -23,7 +24,12 @@ if File.exist? ENV[ 'BALDWIN_RAILS_PATH' ] puts "Using existing #{ENV[ 'BALDWIN_RAILS_NAME' ]} app" else sh "bundle exec rails new #{ENV[ 'BALDWIN_RAILS_PATH' ]} -m spec/support/rails_template.rb" end + end + + desc "Install testing awesomeness" + task :install do + Baldwin::Installer.start end end