Skip to content
Newer
Older
100644 26 lines (20 sloc) 547 Bytes
ae7d28b @mjankowski use rspec for tests
mjankowski authored
1 # encoding: UTF-8
2 require 'rubygems'
3 begin
4 require 'bundler/setup'
5 rescue LoadError
6 puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
7 end
c1e53bf first pass at a flutie engine
Chad Pytel authored
8
9 require 'rake'
ae7d28b @mjankowski use rspec for tests
mjankowski authored
10 require 'rdoc/task'
c1e53bf first pass at a flutie engine
Chad Pytel authored
11
ae7d28b @mjankowski use rspec for tests
mjankowski authored
12 require 'rspec/core'
13 require 'rspec/core/rake_task'
c1e53bf first pass at a flutie engine
Chad Pytel authored
14
ae7d28b @mjankowski use rspec for tests
mjankowski authored
15 RSpec::Core::RakeTask.new(:spec)
16
17 task :default => :spec
c1e53bf first pass at a flutie engine
Chad Pytel authored
18
19 Rake::RDocTask.new(:rdoc) do |rdoc|
20 rdoc.rdoc_dir = 'rdoc'
21 rdoc.title = 'Flutie'
22 rdoc.options << '--line-numbers' << '--inline-source'
ae7d28b @mjankowski use rspec for tests
mjankowski authored
23 rdoc.rdoc_files.include('README.rdoc')
c1e53bf first pass at a flutie engine
Chad Pytel authored
24 rdoc.rdoc_files.include('lib/**/*.rb')
25 end
Something went wrong with that request. Please try again.