Sha256: 4791f4f5eecad831dfb785fc5095ad94ea7cc88997f7f11e7e02d0e07dc9b573

Contents?: true

Size: 771 Bytes

Versions: 18

Compression:

Stored size: 771 Bytes

Contents

require "rake"

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

task :default => :spec

desc "Run specs"
task :spec => "bundler:install" do
  sh("rspec")
end

namespace :bundler do
  desc "Install bundler and gems"
  task "install" do
    sh("(gem list --local bundler | grep bundler || gem install bundler) && (bundle check || bundle install)")
  end
end

namespace :gem do
  desc "Build Gem"
  task :build do
    sh "gem build vmc.gemspec"
  end

  desc "Install Gem"
  task :install => :build do
    sh "gem install --local vmc-#{VMC::VERSION}"
    sh "rm vmc-#{VMC::VERSION}.gem"
  end

  desc "Uninstall Gem"
  task :uninstall do
    sh "gem uninstall vmc"
  end

  desc "Reinstall Gem"
  task :reinstall => [:uninstall, :install]
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
vmc-0.5.0.beta.7 Rakefile
vmc-0.5.0.beta.6 Rakefile
vmc-0.5.0.beta.5 Rakefile
vmc-0.5.0.beta.4 Rakefile
vmc-0.5.0.beta.3 Rakefile
vmc-0.5.0.beta.2 Rakefile
vmc-0.5.0.beta.1 Rakefile
vmc-0.4.7 Rakefile
vmc-0.4.6 Rakefile
vmc-0.4.5 Rakefile
vmc-0.4.4 Rakefile
vmc-0.4.3 Rakefile
vmc-0.4.2 Rakefile
vmc-0.4.1 Rakefile
vmc-0.4.0 Rakefile
vmc-0.4.0.beta.97 vmc-ng/Rakefile
vmc-0.4.0.beta.96 vmc-ng/Rakefile
vmc-0.4.0.beta.94 vmc-ng/Rakefile