Sha256: e671a08eb4703cdad2de20b9fc25269cfbdd69062aeab43f301e2902ab6e9d4e
Contents?: true
Size: 767 Bytes
Versions: 6
Compression:
Stored size: 767 Bytes
Contents
require 'bundler' Bundler::GemHelper.install_tasks require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) require 'rake/version_task' Rake::VersionTask.new include Rake::DSL if defined?(Rake::DSL) RVM_PREFIX = "rvm jruby,1.9.3,2.0.0 do" namespace :spec do desc "Run on three Rubies" task :platforms do exit $?.exitstatus unless system "#{RVM_PREFIX} bundle install 2>&1 1>/dev/null " exit $?.exitstatus unless system "#{RVM_PREFIX} bundle exec rake spec" end end task :default => 'spec:platforms' # Add to .git/config: # [remote "all"] # url = git@github.com:ranmocy/guard-rails.git # url = git@gitcafe.com:ranmocy/guard-rails.git desc 'Push everywhere!' task :publish do system %{git push all} system %{git push all --tags} end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
guard-rails-0.7.2 | Rakefile |
guard-rails-0.7.1 | Rakefile |
guard-rails-0.7.0 | Rakefile |
guard-rails-0.6.1 | Rakefile |
guard-rails-0.6.0 | Rakefile |
guard-rails-0.5.3 | Rakefile |