Sha256: 36027997a7c5d556ee0e315251fe9a9655f405ff6b0e598e1c8d8a6a3f59351f

Contents?: true

Size: 752 Bytes

Versions: 15

Compression:

Stored size: 752 Bytes

Contents

require "rake"

$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require "cfoundry/version"

task :default => "spec"

desc "Run specs"
task "spec" => ["bundler:install", "test:spec"]

task :build do
  sh "gem build cfoundry.gemspec"
end

task :install => :build do
  sh "gem install --local cfoundry-#{CFoundry::VERSION}"
  sh "rm cfoundry-#{CFoundry::VERSION}.gem"
end

task :uninstall do
  sh "gem uninstall cfoundry"
end

task :reinstall => [:uninstall, :install]

task :release => :build do
  sh "gem push cfoundry-#{CFoundry::VERSION}.gem"
end

namespace "bundler" do
  desc "Install gems"
  task "install" do
    sh("bundle install")
  end
end

namespace "test" do
  task "spec" do |t|
    sh("cd spec && bundle exec rake spec")
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
cfoundry-0.4.10 Rakefile
cfoundry-0.4.9 Rakefile
cfoundry-0.4.8 Rakefile
cfoundry-0.4.7 Rakefile
cfoundry-0.4.6 Rakefile
cfoundry-0.4.5 Rakefile
cfoundry-0.4.4 Rakefile
cfoundry-0.4.3 Rakefile
cfoundry-0.4.2 Rakefile
cfoundry-0.4.1 Rakefile
cfoundry-0.4.0 Rakefile
cfoundry-0.3.61 Rakefile
cfoundry-0.3.60 Rakefile
cfoundry-0.3.59 Rakefile
cfoundry-0.3.58 Rakefile