Sha256: 6967f5ff1bf1b5e38997ef2675c8395586e1e4e0fea7e16a59927cbb51173d28
Contents?: true
Size: 755 Bytes
Versions: 1
Compression:
Stored size: 755 Bytes
Contents
require 'rubygems' require 'rake' require 'bundler' Bundler::GemHelper.install_tasks require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:spec) do |spec| spec.rspec_opts = ['--color', '--format progress'] spec.pattern = 'spec/**/*_spec.rb' end task :default => :spec require 'rdoc/task' Rake::RDocTask.new do |rdoc| if File.exist?('VERSION') version = File.read('VERSION') else version = "" end rdoc.rdoc_dir = 'rdoc' rdoc.title = "tartarus #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end desc 'Setup spec env for running tests' task 'spec:setup' do t = `cd spec/rails_app && bundle exec rake db:migrate && bundle exec rake db:test:clone` puts "Setup spec env\n#{t}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tartarus-2.3 | Rakefile |