Skip to content

Commit

Permalink
Remove duplicate pivot:compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Jackson committed Apr 9, 2012
1 parent cf8a576 commit 15b4a1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Guardfile
@@ -1,3 +1,3 @@
guard :shell do
watch(/^src\/.+\.js/) { `rake pivot:compile && rake pivot:docs` }
watch(/^src\/.+\.js/) { `rake pivot:docs` }
end
3 changes: 1 addition & 2 deletions Rakefile
Expand Up @@ -17,8 +17,7 @@ require_relative './demo_csv_builder.rb'

namespace :pivot do
desc "Compiles docs"
task :docs do
Rake::Task["pivot:compile"].invoke
task :docs => :compile do
system("jsduck ./pivot.js --output ./docs")
$stdout.puts "Docs have generated"
end
Expand Down

0 comments on commit 15b4a1d

Please sign in to comment.