# encoding: utf-8 require 'rubygems' require 'rake' require 'jeweler' Jeweler::Tasks.new do |gem| # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options gem.name = "my-simon" gem.homepage = "https://github.com/samcreate/simon-cli" gem.license = "MIT" gem.summary = "CLI tool for Simon" gem.description = "CLI tool for Simon, the simple PHP project boilerplate!" gem.email = "aaron.mcguire@evb.com" gem.authors = ["Aaron McGuire"] # dependencies defined in Gemfile end Jeweler::RubygemsDotOrgTasks.new require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end # Rcov::RcovTask.new do |test| # test.libs << 'test' # test.pattern = 'test/**/test_*.rb' # test.verbose = true # test.rcov_opts << '--exclude "gems/*"' # end task :default => :test require 'rdoc/task' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "simon #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end