Sha256: e33aad6a510ffa3753e46e1de5a6e2c95897866631d553a5d7af42434cfad136
Contents?: true
Size: 838 Bytes
Versions: 6
Compression:
Stored size: 838 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", "test:spec"] desc "Run integration tests" task :test => ["bundler:install", "test:integration"] task :build do sh "gem build vmc.gemspec" end task :install => :build do sh "gem install --local vmc-#{VMC::VERSION}" sh "rm vmc-#{VMC::VERSION}.gem" end task :uninstall do sh "gem uninstall vmc" end task :reinstall => [:uninstall, :install] task :release => :build do sh "gem push vmc-#{VMC::VERSION}.gem" end namespace "bundler" do desc "Install gems" task "install" do sh("bundle install") end end namespace "test" do task "spec" do |t| # nothing end task "integration" do |t| sh("cd spec && bundle exec rake spec") end end
Version data entries
6 entries across 6 versions & 1 rubygems