Sha256: 19294faf017f5017a7933acccc28c8f73ccf1fdc8a513a3fe8ac8836d7a2f7c2
Contents?: true
Size: 1.24 KB
Versions: 1
Compression:
Stored size: 1.24 KB
Contents
require 'rubygems' gem 'hoe', '>= 2.1.0' require 'hoe' require 'fileutils' require './lib/indentation' Hoe.plugin :newgem # Hoe.plugin :website # Generate all the Rake tasks # Run 'rake -T' to see list of generated tasks (from gem root directory) $hoe = Hoe.spec 'indentation' do self.developer 'Samuel Dana', 's.dana@prometheuscomputing.com' self.post_install_message = File.read(File.join(File.dirname(__FILE__),'PostInstall.txt')) self.rubyforge_name = self.name # TODO this is default value # self.extra_deps = [['activesupport','>= 2.0.2']] end require 'newgem/tasks' Dir['tasks/**/*.rake'].each { |t| load t } # TODO - want other tests/tasks run by default? Add them to the list # remove_task :default # task :default => [:spec, :features] # Add rvm gem install tasks desc 'Install the package as a gem for rvm (no sudo), without generating documentation(ri/rdoc)' task :rvm_install_gem_no_doc => [:clean, :package] do sh "gem install pkg/*.gem --no-rdoc --no-ri" end desc 'Shortcut to rvm_install_gem_no_doc task' task :rig => [:rvm_install_gem_no_doc] do end desc 'Install the package as a gem for rvm (no sudo)' task :rvm_install_gem => [:clean, :package] do sh "gem install pkg/*.gem" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
indentation-0.0.4 | Rakefile |