Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 7096bdd31b
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (31 sloc) 1.154 kB
require 'hoe'
require File.dirname(__FILE__) + '/lib/stubble'
Hoe.spec('stubble') do |p|
developer 'David Chelimsky','dchelimsky@gmail.com'
p.version = Stubble::VERSION
p.summary = "stubble-#{Stubble::VERSION}"
p.description = 'Tools to make stubbing ORM models just a little bit easier.'
p.url = 'http://github.com/dchelimsky/stubble'
p.extra_deps = [['activerecord']]
p.extra_dev_deps = [["rspec",">= 1.2.4"]]
p.readme_file = 'README.rdoc'
p.history_file = 'History.rdoc'
end
Rake.application.instance_variable_get('@tasks').delete('default')
task :default => ["spec:rspec","spec:mocha","spec:rr","spec:flexmock"]
namespace :update do
desc "update the manifest"
task :manifest do
system %q[touch Manifest.txt; rake check_manifest | grep -v "(in " | patch]
end
end
namespace :spec do
['mocha','rr','flexmock','rspec'].each do |framework|
desc "using #{framework}"
task framework do
ENV['STUB_FRAMEWORK'] = framework
puts "************************************\n** running specs against #{ENV['STUB_FRAMEWORK']}"
system 'spec spec'
end
end
end
Jump to Line
Something went wrong with that request. Please try again.