Sha256: a8c76b70b801d26de4438472ef04086752fe47caf5f8801cdabb6fb82047f6aa
Contents?: true
Size: 1.57 KB
Versions: 1
Compression:
Stored size: 1.57 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "personify" gem.summary = %Q{A personalisation template language} gem.description = %Q{Personfify is meant for use in environments where templates just need to be personalized.} gem.email = "flurin@digitpaint.nl" gem.homepage = "http://github.com/digitpaint/personify" gem.authors = ["Flurin Egger"] gem.add_dependency "treetop", "~> 1.4.0" gem.add_development_dependency "thoughtbot-shoulda", ">= 0" gem.add_development_dependency "rdoc", ">= 0" # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" end require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs + ['lib', 'test'] test.pattern = 'test/*_test.rb' test.verbose = true end begin require 'rcov/rcovtask' Rcov::RcovTask.new do |test| test.libs << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end rescue LoadError task :rcov do abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov" end end task :test => :check_dependencies task :default => :test require 'rdoc/task' RDoc::Task.new() do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "personify #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
personify-1.1.2 | Rakefile |