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