yfactorial / utility_scopes
- Source
- Commits
- Network (5)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
e57c04e
utility_scopes / Rakefile
| 7f720059 » | rwdaigle | 2008-08-20 | 1 | require 'rubygems' | |
| 2 | require 'rake' | ||||
| 3 | require 'rake/rdoctask' | ||||
| ce17a0c1 » | jney | 2008-10-22 | 4 | require 'spec/rake/spectask' | |
| 7f720059 » | rwdaigle | 2008-08-20 | 5 | ||
| ce17a0c1 » | jney | 2008-10-22 | 6 | desc 'Run the specs' | |
| 7 | Spec::Rake::SpecTask.new(:spec) do |t| | ||||
| 8 | t.spec_opts = ['--colour --format progress --loadby mtime --reverse'] | ||||
| 9 | t.spec_files = FileList['spec/**/*_spec.rb'] | ||||
| 10 | end | ||||
| 7f720059 » | rwdaigle | 2008-08-20 | 11 | ||
| 12 | desc 'Generate RDoc documentation.' | ||||
| 13 | Rake::RDocTask.new(:rdoc) do |rdoc| | ||||
| 14 | rdoc.rdoc_files.include('README.rdoc', 'LICENSE', 'Rakefile'). | ||||
| 15 | include('lib/**/*.rb') | ||||
| 16 | |||||
| 17 | rdoc.main = "README.rdoc" | ||||
| 18 | rdoc.title = "utility_scopes documentation" | ||||
| 19 | |||||
| 20 | rdoc.rdoc_dir = 'doc' # rdoc output folder | ||||
| 21 | rdoc.options << '--inline-source' << '--charset=UTF-8' | ||||
| 22 | rdoc.options << '--webcvs=http://github.com/yfactorial/utility_scopes/tree/master/' | ||||
| 23 | end | ||||
