Sha256: 47a2fc806686c14e780f92fecc869c5b97fc387f8091b760d4c7aaa57e787f31

Contents?: true

Size: 708 Bytes

Versions: 17

Compression:

Stored size: 708 Bytes

Contents

desc "Push doc to HARS"
task :hars do
  sh "rsync -aP --delete doc/ /home/hars/hars/public/pod4"
end

desc "Update vim tag data"
task :retag do
  sh "ripper-tags -R"
end


namespace :rspec do

  desc "run tests (mri)"
  task :mri do
    sh "rspec spec/common spec/mri"
  end

  desc "run tests (jRuby)"
  task :jruby do
    sh "rspec spec/common spec/jruby"
  end

  desc "run one test (pass as parameter)"
  task :one do |task, args|

    if args.extras.count > 0 # rake rspec[path/to/file]
      sh "rspec #{args.extras.first}"

    elsif ARGV.count == 2 && File.exist?(ARGV[1])  # rake rspec path/to/file
      sh "rspec #{ARGV[1]}"

    else
      raise "You need to specify a test"
    end

  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
pod4-1.0.1 Rakefile
pod4-1.0.0 Rakefile
pod4-0.10.6 Rakefile
pod4-0.10.5 Rakefile
pod4-0.10.4 Rakefile
pod4-0.10.3 Rakefile
pod4-0.10.2 Rakefile
pod4-0.10.1 Rakefile
pod4-0.10.0 Rakefile
pod4-0.9.3 Rakefile
pod4-0.9.2 Rakefile
pod4-0.9.1 Rakefile
pod4-0.9.0 Rakefile
pod4-0.8.3 Rakefile
pod4-0.8.2 Rakefile
pod4-0.8.1 Rakefile
pod4-0.8.0 Rakefile