Sha256: e48c6052d79f1c0b9e0a9cf9c60604e252da67197e180eca941fcc4396a4dcef

Contents?: true

Size: 708 Bytes

Versions: 61

Compression:

Stored size: 708 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}"
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

61 entries across 61 versions & 2 rubygems

Version Path
cfoundry-0.3.57 Rakefile
cfoundry-0.3.56 Rakefile
cfoundry-0.3.55 Rakefile
cfoundry-0.3.54 Rakefile
cfoundry-0.3.53 Rakefile
cfoundry-0.3.52 Rakefile
cfoundry-0.3.51 Rakefile
cfoundry-0.3.50 Rakefile
cfoundry-0.3.49 Rakefile
cfoundry-0.3.48 Rakefile
cfoundry-0.3.47 Rakefile
cfoundry-0.3.46 Rakefile
cfoundry-0.3.45 Rakefile
cfoundry-0.3.44 Rakefile
cfoundry-0.3.43 Rakefile
cfoundry-0.3.42 Rakefile
cfoundry-0.3.41 Rakefile
cfoundry-IronFoundry-0.3.40 Rakefile
cfoundry-0.3.40 Rakefile
cfoundry-IronFoundry-0.3.39 Rakefile