Rakefile in ric-0.11.3 vs Rakefile in ric-0.11.4
- old
+ new
@@ -19,6 +19,32 @@
"images/*/*/*", "images/*/*", 'images',
"private/*",
"HISTORY"
]
p.development_dependencies = [ ]
+end
+
+#### RAKE TEST
+require 'rake'
+require 'rake/testtask'
+require 'rake/rdoctask'
+
+desc 'Default: run unit tests.'
+task :default => :test
+
+desc 'Test the ric gem'
+Rake::TestTask.new(:test) do |t|
+ t.libs << 'lib'
+ t.libs << 'test'
+ t.pattern = 'test/**/*_test.rb'
+ t.verbose = true
+end
+
+desc 'Generate documentation for the ric gem'
+Rake::RDocTask.new(:rdoc) do |rdoc|
+ rdoc.rdoc_dir = 'rdoc'
+ rdoc.title = 'Ric GEM Hehehe'
+ rdoc.options << '--line-numbers' << '--inline-source'
+ rdoc.rdoc_files.include('README')
+ rdoc.rdoc_files.include('HISTORY.yml')
+ rdoc.rdoc_files.include('lib/**/*.rb')
end
\ No newline at end of file