Sha256: 6c2cde0d45b849b8d3413065251689b579decab70cff03bfc1f06cfe922c3855
Contents?: true
Size: 1.19 KB
Versions: 3
Compression:
Stored size: 1.19 KB
Contents
#!/usr/bin/env rake begin require 'hoe' rescue LoadError abort "This Rakefile requires 'hoe' (gem install hoe)" end require 'rake/clean' Hoe.plugin :mercurial Hoe.plugin :signing Hoe.plugins.delete :rubyforge hoespec = Hoe.spec 'rspec-formatter-webkit' do self.readme_file = 'README.rdoc' self.history_file = 'History.rdoc' self.extra_rdoc_files = Rake::FileList[ '*.rdoc' ] self.developer 'Michael Granger', 'ged@FaerieMUD.org' self.dependency 'rspec-core', '~> 2.7' self.spec_extras[:licenses] = ["BSD"] self.spec_extras[:post_install_message] = %{ You can use this formatter from TextMate by setting the TM_RSPEC_OPTS shell variable (in the 'Advanced' preference pane) to: --format RSpec::Core::Formatters::WebKit Have fun! }.gsub( /^\t+/m, '' ) self.require_ruby_version( '>=1.8.7' ) self.hg_sign_tags = true if self.respond_to?( :hg_sign_tags ) self.rdoc_locations << "deveiate:/usr/local/www/public/code/#{remote_rdoc_dir}" end ENV['VERSION'] ||= hoespec.spec.version.to_s # Ensure history is updated before checking in task 'hg:precheckin' => [ :check_history ] task :legacy_gem do Dir.chdir( 'legacy' ) do sh 'rake gem' end end CLEAN.include( 'legacy/pkg' )
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rspec-formatter-webkit-2.2.0 | Rakefile |
rspec-formatter-webkit-2.1.5 | Rakefile |
rspec-formatter-webkit-2.1.4 | Rakefile |