1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00
awesome_print/Rakefile

25 lines
454 B
Text
Raw Permalink Normal View History

2014-12-30 13:09:18 -05:00
require "rubygems"
require "bundler/setup"
require "bundler"
2011-11-08 15:56:04 -05:00
Bundler::GemHelper.install_tasks
2014-12-30 13:09:18 -05:00
task :default do
if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/
Rake::Task['spec'].invoke
else
Rake::Task['appraise'].invoke
end
end
task :appraise do
exec 'appraisal install && appraisal rake'
end
desc "Run all awesome_print gem specs"
task :spec do
# Run plain rspec command without RSpec::Core::RakeTask overrides.
exec "rspec -c spec"
end