Sha256: 902818923b976c7ddb9b4fa3f44538cda09a6d41fa5d1f2fe98bc19251e0a384

Contents?: true

Size: 770 Bytes

Versions: 2

Compression:

Stored size: 770 Bytes

Contents

desc "Invokes the test suite in multiple RVM environments"
task :'test!' do
  # Override this by adding RVM_TEST_ENVS=".." in .rvmrc
  envs = ENV['RVM_TEST_ENVS'] || '1.9.2@proton,1.8.7@proton'
  puts "* Testing in the following RVM environments: #{envs.gsub(',', ', ')}"
  system "rvm #{envs} rake test" or abort
end

desc "Runs tests"
task :test do
  Dir['test/**/*_test.rb'].each { |f| load f }
end

namespace :doc do
  desc "Builds the docs in doc/."
  task :update do
    # gem install proscribe (~> 0.0.2)
    system "proscribe build"
  end

  desc "Updates the online manual."
  task :deploy => :update do
    # http://github.com/rstacruz/git-update-ghpages
    system "git update-ghpages rstacruz/proton -i doc --prefix manual"
  end
end

task :default => :test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
proton-0.3.6 Rakefile
proton-0.3.5 Rakefile