Rakefile in sjekksum-0.1.0 vs Rakefile in sjekksum-0.1.1
- old
+ new
@@ -10,6 +10,21 @@
task RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = "spec/**/*_spec.rb"
t.verbose = false
end
+namespace :inch do
+ desc "List all objects with there results"
+ task :list do
+ sh "inch list --all"
+ end
+
+ desc "Print stats about the documentation state"
+ task :stats do
+ sh "inch stats"
+ end
+end
+
+desc "inch documentation report (`list` and `stats`)"
+task inch: ["inch:list", "inch:stats"]
+
task :default => :spec