Sha256: faf03a34bedaed389bf1a6c187d79edbaba53d8c6a25345fe811ae7fcd3d286b
Contents?: true
Size: 1.24 KB
Versions: 2
Compression:
Stored size: 1.24 KB
Contents
#!/usr/bin/env rake require 'rake/clean' begin require 'hoe' rescue LoadError abort "This Rakefile requires 'hoe' (gem install hoe)" end Hoe.plugin :mercurial Hoe.plugin :signing Hoe.plugin :deveiate Hoe.plugins.delete :rubyforge hoespec = Hoe.spec 'loggability' do self.readme_file = 'README.rdoc' self.history_file = 'History.rdoc' self.extra_rdoc_files = FileList[ '*.rdoc' ] self.developer 'Michael Granger', 'ged@FaerieMUD.org' self.dependency 'pluginfactory', '~> 1.0' self.dependency 'hoe-deveiate', '~> 0.1', :developer self.dependency 'simplecov', '~> 0.6', :developer self.spec_extras[:licenses] = ["Ruby"] self.spec_extras[:rdoc_options] = ['-f', 'fivefish', '-t', 'Loggability Toolkit'] self.require_ruby_version( '>=1.9.3' ) self.hg_sign_tags = true if self.respond_to?( :hg_sign_tags= ) self.check_history_on_release = true if self.respond_to?( :check_history_on_release= ) self.rdoc_locations << "deveiate:/usr/local/www/public/code/#{remote_rdoc_dir}" end ENV['VERSION'] ||= hoespec.spec.version.to_s # Ensure the specs pass before checking in task 'hg:precheckin' => [ :check_history, :check_manifest, :spec ] desc "Build a coverage report" task :coverage do ENV["COVERAGE"] = 'yes' Rake::Task[:spec].invoke end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
loggability-0.0.2 | Rakefile |
loggability-0.0.1 | Rakefile |