Sha256: b031a8bfa3cfb474b2f1e4dd5fb509f357528a7b1de5536bc6a62e416322a4d9
Contents?: true
Size: 735 Bytes
Versions: 15
Compression:
Stored size: 735 Bytes
Contents
require 'bundler' Bundler::GemHelper.install_tasks require 'cucumber/rake/task' Cucumber::Rake::Task.new(:cucumber, 'Run features that should pass') do |t| t.cucumber_opts = "--color --tags ~@wip --strict --format #{ENV['CUCUMBER_FORMAT'] || 'Fivemat'}" end require 'rake/clean' task :test => ["cucumber"] require "middleman-deploy/pkg-info" PACKAGE = "#{Middleman::Deploy::PACKAGE}" VERSION = "#{Middleman::Deploy::VERSION}" task :package do system "gem build #{PACKAGE}.gemspec" end task :install => :package do Dir.chdir("pkg") do system "gem install #{PACKAGE}-#{VERSION}" end end task :release => :package do Dir.chdir("pkg") do system "gem push #{PACKAGE}-#{VERSION}" end end task :default => :test
Version data entries
15 entries across 15 versions & 1 rubygems