Sha256: 6bdd23fe68257666191d34b202848ca0c5649bf14d23f393f5f8d981348e9a13
Contents?: true
Size: 708 Bytes
Versions: 7
Compression:
Stored size: 708 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 # namespace # 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
7 entries across 7 versions & 1 rubygems