Sha256: c9b0915f63d1e85034d9fb584064f422f61e5479b028119ed4192daf49dc00f0
Contents?: true
Size: 637 Bytes
Versions: 1
Compression:
Stored size: 637 Bytes
Contents
require "bundler/gem_tasks" require 'cucumber/rake/task' require 'rspec/core/rake_task' task :default => :tests task :tests => [:spec, :features] Cucumber::Rake::Task.new(:features) do |t| t.cucumber_opts = "features --format pretty" end RSpec::Core::RakeTask.new(:spec) task :update_readme do require_relative 'lib/katapult/version' readme_path = 'README.md' readme = File.read readme_path readme.sub! /\A# Katapult.*\nGenerating.*\n/, '# ' + `bin/katapult version` readme.sub! /(required .Ruby. version is )[\d\.]+\d/, "\\1#{Katapult::RUBY_VERSION}" File.open readme_path, 'w' do |f| f.write readme end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
katapult-0.5.0 | Rakefile |