Sha256: 74ddcae38d1cca96ca68346d1162a90506749d3f134ba94fb2cf25efcf0ef1fe

Contents?: true

Size: 543 Bytes

Versions: 12

Compression:

Stored size: 543 Bytes

Contents

task default: :test

desc "Build HTML documentation"
task :doc do
  system("rdoc --main README.rdoc README.rdoc documentation/*.rdoc")
end

desc "Run tests"
task :test do
  require 'rake/testtask'

  Rake::TestTask.new do |t|
    t.libs << 'lib'
    t.pattern = 'test/**/*_test.rb'
    t.verbose = false
  end

  suffix = "-n #{ENV['TEST']}" if ENV['TEST']
  sh "turn test/*_test.rb #{suffix}"
end

begin
  require 'mg'
  MG.new("showoff.gemspec")
rescue LoadError
  puts "'gem install mg' to get helper gem publishing tasks. (optional)"
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
showoff-0.12.2 Rakefile
showoff-0.12.1 Rakefile
showoff-0.12.0 Rakefile
showoff-0.11.2 Rakefile
showoff-0.11.1 Rakefile
showoff-0.11.0 Rakefile
showoff-0.10.2 Rakefile
showoff-0.10.1 Rakefile
showoff-0.10.0 Rakefile
showoff-0.9.11.1 Rakefile
showoff-0.9.11 Rakefile
showoff-0.9.10.9 Rakefile