Sha256: b6c8dfbe619778b1b2232c785eab27beeb7cb402af981990564e282d55955ada
Contents?: true
Size: 1023 Bytes
Versions: 7
Compression:
Stored size: 1023 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'rake' require 'rubygems/package_task' require 'cucumber/rake/task' require 'rspec/core/rake_task' APP_RAKEFILE = File.expand_path("../tmp/aruba/testapp/Rakefile", __FILE__) load 'rails/tasks/engine.rake' desc 'Default: run all tests' task :default => [:spec, :cucumber] Cucumber::Rake::Task.new(:cucumber) do |t| t.fork = true t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')] end RSpec::Core::RakeTask.new do |t| t.pattern = "spec/**/*_spec.rb" t.rspec_opts = "--format progress" end eval("$specification = begin; #{IO.read('saucy.gemspec')}; end") Gem::PackageTask.new($specification) do |package| package.need_zip = true package.need_tar = true end gem_file = "pkg/#{$specification.name}-#{$specification.version}.gem" desc "Build and install the latest gem" task :install => :gem do sh("gem install --local #{gem_file}") end desc "Build and release the latest gem" task :release => :gem do sh("gem push #{gem_file}") end
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
saucy-0.14.2 | Rakefile |
saucy-0.14.1 | Rakefile |
saucy-0.14.0 | Rakefile |
saucy-0.13.3 | Rakefile |
saucy-0.13.2 | Rakefile |
saucy-0.13.1 | Rakefile |
saucy-0.13.0 | Rakefile |