Sha256: 15dda38fe5dfb6317593e9413e4c16fd45c967e06fad9e37398736ece9b8f659
Contents?: true
Size: 794 Bytes
Versions: 1
Compression:
Stored size: 794 Bytes
Contents
require 'rake' require 'rake/testtask' require 'rake/rdoctask' require 'spec/rake/spectask' desc 'Default: run all specs across all supported Rails gem versions.' task :default => :spec desc 'Run all specs across all supported Rails gem versions.' task :spec do %w(2.1.2 2.2.2 2.3.2).each do |rails_gem_version| puts "*** RAILS #{rails_gem_version} ***" cmd = "cd test_rails_app && RAILS_GEM_VERSION=#{rails_gem_version} rake" puts cmd puts `#{cmd}` puts puts end end desc 'Generate documentation for the admin_assistant plugin.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'AdminAssistant' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
admin_assistant-0.0.1 | Rakefile |