Sha256: c63453cac83725338a6c84aeefe52ff760f22f7f6f9398a061731f1937171a4e
Contents?: true
Size: 858 Bytes
Versions: 3
Compression:
Stored size: 858 Bytes
Contents
require 'bundler' require 'rake/clean' require 'rake/testtask' require 'cucumber' require 'cucumber/rake/task' gem 'rdoc' # we need the installed RDoc gem, not the system one require 'rdoc/task' include Rake::DSL Bundler::GemHelper.install_tasks Rake::TestTask.new do |t| t.pattern = 'test/tc_*.rb' end CUKE_RESULTS = 'results.html' CLEAN << CUKE_RESULTS Cucumber::Rake::Task.new(:features) do |t| t.cucumber_opts = "features --format html -o #{CUKE_RESULTS} --format pretty --no-source -x" t.fork = false end Rake::RDocTask.new do |rd| rd.main = "README.rdoc" rd.rdoc_files.include("README.rdoc","lib/**/*.rb","bin/**/*") end task :man do sh 'ronn --markdown --roff man/prag_events.1.ronn' mv 'man/prag_events.1.markdown','README.md' end CLEAN << 'man/hl.1' CLEAN << 'man/hl.1.html' task :default => [:test,:features,:man]
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
prag_events-1.0.0 | Rakefile |
prag_events-0.0.2 | Rakefile |
prag_events-0.0.1 | Rakefile |