Cleaning up and writing tests
This commit is contained in:
+11
-3
@@ -21,7 +21,15 @@ task :serve do
|
||||
end
|
||||
|
||||
|
||||
desc 'Create the YARD documentation for the project'
|
||||
task :doc do
|
||||
res = sh 'yard doc *.rb'
|
||||
namespace :doc do
|
||||
desc 'Create the YARD documentation for the project'
|
||||
task :yard do
|
||||
res = sh 'yard doc *.rb'
|
||||
end
|
||||
|
||||
desc 'Create code coverage'
|
||||
task :coverage do
|
||||
ENV['COVERAGE'] = 'true'
|
||||
Rake::Task[:test].invoke
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user