1
0
Fork 0
mirror of https://github.com/rspec/rspec-metagem.git synced 2022-11-09 12:09:29 -05:00
rspec--rspec-metagem/Rakefile

34 lines
1 KiB
Text
Raw Normal View History

2009-06-29 12:18:55 -04:00
require 'rubygems'
require 'rake'
require 'fileutils'
require 'pathname'
2009-06-29 12:18:55 -04:00
2009-11-07 09:49:52 -05:00
$:.unshift File.expand_path(File.join(File.dirname(__FILE__),'lib'))
2010-01-19 09:12:13 -05:00
require 'rspec/version'
2009-11-07 09:49:52 -05:00
2009-06-29 12:18:55 -04:00
begin
2009-11-07 09:49:52 -05:00
require 'jeweler'
Jeweler::Tasks.new do |gem|
2010-01-19 09:12:13 -05:00
gem.name = "rspec"
2009-11-07 09:49:52 -05:00
gem.summary = "pulls in the other rspec gems"
gem.email = "dchelimsky@gmail.com;chad.humphries@gmail.com"
gem.homepage = "http://github.com/rspec/meta"
gem.authors = ["David Chelimsky", "Chad Humphries"]
2010-01-19 09:12:13 -05:00
gem.version = Rspec::Version::STRING
gem.add_dependency "rspec-core", ">= #{Rspec::Version::STRING}"
gem.add_dependency "rspec-expectations", ">= #{Rspec::Version::STRING}"
gem.add_dependency "rspec-mocks", ">= #{Rspec::Version::STRING}"
2009-06-29 12:18:55 -04:00
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
2009-11-07 09:49:52 -05:00
end
Jeweler::GemcutterTasks.new
2009-06-29 12:18:55 -04:00
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
2009-09-21 23:10:37 -04:00
task :clobber do
rm_rf 'pkg'
end
2009-11-07 09:57:27 -05:00
task :default => [:check_dependencies]