Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (37 sloc) 988 Bytes
require 'rake'
require 'spec/rake/spectask'
desc 'Default: run specs.'
task :default => :spec
desc 'Run the specs'
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_opts = ['--colour --format progress --loadby mtime --reverse']
t.spec_files = FileList['spec/**/*_spec.rb']
end
PKG_FILES = FileList[
'[a-zA-Z]*',
'app/**/*',
'generators/**/*',
'config/*',
'lib/**/*',
'rails/**/*',
'spec/**/*',
'features/**/*'
]
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "paths_of_glory"
s.version = "0.1.5"
s.author = "Paul Campbell"
s.email = "paul@rslw.com"
s.homepage = "http://www.github.com/paulca/paths_of_glory"
s.platform = Gem::Platform::RUBY
s.summary = "Getting you started on the road to achievements."
s.files = PKG_FILES.to_a
s.has_rdoc = false
s.extra_rdoc_files = ["README.md"]
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
end
Jeweler::GemcutterTasks.new