Skip to content

Commit

Permalink
Put back a package task in the Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
bhollis committed Jul 29, 2012
1 parent 8b24426 commit dc53de1
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions Rakefile
@@ -1,10 +1,18 @@
require 'rake'
require 'rake/clean'
require 'rdoc/task'
require 'rspec/core'
require 'rspec/core/rake_task'
require 'bundler'

task :default => :spec

CLEAN.replace %w(pkg doc)

RDoc::Task.new do |rdoc|
files = [#'README', 'LICENSE', 'COPYING',
files = [
'lib/**/*.rb',
'rdoc/*.rdoc'#, 'test/*.rb'
'rdoc/*.rdoc'
]
rdoc.rdoc_files.add(files)
rdoc.main = "rdoc/main.rdoc" # page to start on
Expand All @@ -14,11 +22,8 @@ RDoc::Task.new do |rdoc|
rdoc.options << '--line-numbers' << '--inline-source'
end

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
spec.pattern = FileList['spec/**/*_spec.rb']
end



Bundler::GemHelper.install_tasks

0 comments on commit dc53de1

Please sign in to comment.