X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/1620856a8a47219f3a2cbb5288137b11467886fc..a16962155a3c3c6616bfe32c7216f3631836d38c:/vendor/plugins/sparklines/Rakefile?ds=inline diff --git a/vendor/plugins/sparklines/Rakefile b/vendor/plugins/sparklines/Rakefile new file mode 100644 index 0000000..d3456e4 --- /dev/null +++ b/vendor/plugins/sparklines/Rakefile @@ -0,0 +1,23 @@ +require 'rake' +require 'rake/testtask' +require 'rake/rdoctask' + +desc 'Default: run unit tests.' +task :default => :test + +desc 'Test the plugin.' +Rake::TestTask.new(:test) do |t| + t.libs << 'lib' + t.pattern = 'test/**/test_*.rb' + t.verbose = true +end + +desc 'Generate documentation for the plugin.' +Rake::RDocTask.new(:rdoc) do |rdoc| + rdoc.rdoc_dir = 'rdoc' + rdoc.title = 'CalendarHelper' + rdoc.options << '--line-numbers' << '--inline-source' + rdoc.rdoc_files.include('README') + rdoc.rdoc_files.include('lib/**/*.rb') +end +