Sha256: 214d2b334ffb77f067d47d990ecd708787d974762188949ad53b014d687f9c9d
Contents?: true
Size: 522 Bytes
Versions: 15
Compression:
Stored size: 522 Bytes
Contents
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
15 entries across 15 versions & 1 rubygems