Sha256: 2589c356374dabb8260a0d887069dda9731426486ea18e1156768dfbc4b2d1a8
Contents?: true
Size: 864 Bytes
Versions: 2
Compression:
Stored size: 864 Bytes
Contents
require 'bundler' Bundler.setup Bundler::GemHelper.install_tasks require 'rspec/core/rake_task' desc 'Run all examples' RSpec::Core::RakeTask.new(:spec) begin require 'yard' YARD::Rake::YardocTask.new rescue LoadError end begin require 'rubocop/rake_task' desc 'Run rubocop' Rubocop::RakeTask.new(:rubocop) rescue LoadError end namespace :spec do desc 'Run specs with middleman' task :middleman do ENV['BUNDLE_GEMFILE'] = 'gemfiles/middleman-3.1.x.gemfile' Rake::Task['spec'].execute end desc 'Run specs with rails 3.2' task :rails_3_2 do ENV['BUNDLE_GEMFILE'] = 'gemfiles/rails-3.2.x.gemfile' Rake::Task['spec'].execute end desc 'Run specs with rails 4.0' task :rails_4_0 do ENV['BUNDLE_GEMFILE'] = 'gemfiles/rails-4.0.x.gemfile' Rake::Task['spec'].execute end end task default: :spec task test: :spec
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
multi_sync-0.0.2 | Rakefile |
multi_sync-0.0.1 | Rakefile |