Sha256: 0b381527865293e149ac85d717e522e7c80d1b54737c5f59b10acbfa8fb268af
Contents?: true
Size: 696 Bytes
Versions: 4
Compression:
Stored size: 696 Bytes
Contents
# encoding: utf-8 require 'rubygems' require_relative './lib/macros4cuke/constants' namespace :gem do desc 'Push the gem to rubygems.org' task :push do system("gem push macros4cuke-#{Macros4Cuke::Version}.gem") end end # Testing-specific tasks # Cucumber as testing tool require 'cucumber/rake/task' Cucumber::Rake::Task.new do |t| end # RSpec as testing tool require 'rspec/core/rake_task' desc "Run RSpec" RSpec::Core::RakeTask.new do |spec| spec.pattern = 'spec/**/*_spec.rb' end # Combine RSpec and Cucumber tests desc "Run tests, with RSpec and Cucumber" task :test => [:spec, :cucumber] # Default rake task task :default => :test # End of file
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
macros4cuke-0.3.23 | Rakefile |
macros4cuke-0.3.22 | Rakefile |
macros4cuke-0.3.21 | Rakefile |
macros4cuke-0.3.20 | Rakefile |