public
Description: a Ruby on Rails plugin for easier integration of the YUI library into a Ruby on Rails application. It will include helpers for generating widgets and including the YUI file dependencies.
Homepage: http://rubyforge.org/projects/yui4rails/
Clone URL: git://github.com/mghaught/yui4rails.git
yui4rails / Rakefile
100644 24 lines (19 sloc) 0.61 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'rake'
require 'rake/rdoctask'
require 'spec/version'
require 'spec/rake/spectask'
 
desc 'Default: run plugin specs'
task :default => :spec
 
desc 'Test the yui4rails plugin via rspec.'
Spec::Rake::SpecTask.new do |t|
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.spec_opts = ['--options', 'spec/spec.opts']
end
 
desc 'Generate documentation for the yui4rails plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'Yui4rails'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end