From 19c347903aba74a07b54346642eb297ca32e3cd6 Mon Sep 17 00:00:00 2001 From: Garen Torikian Date: Tue, 9 Apr 2013 14:49:41 -0500 Subject: [PATCH] Add stats tasks --- Rakefile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Rakefile b/Rakefile index f120bf455..709d5f63a 100644 --- a/Rakefile +++ b/Rakefile @@ -114,14 +114,16 @@ task :tags do system %{find src native cef vendor -not -name "*spec.coffee" -type f -print0 | xargs -0 ctags} end -desc "Builds the API docs" -task :docs do - system %{./biscotto -j ~/Development/biscotto/out.json src/app/} -end +namespace :docs do + desc "Builds the API docs" + task :build do + system %{./biscotto -j ~/Development/biscotto/out.json src/app/} + end -desc "Lists the stats for API doc coverage" -task :docsStats do - system %{./biscotto --statsOnly src/app/} + desc "Lists the stats for API doc coverage" + task :stats do + system %{./biscotto --statsOnly src/app/} + end end def application_path