Skip to content
Browse files

Hook the librarian update on rake install.

  • Loading branch information...
1 parent 0e76dfb commit 61e4367669c0fbdbe6750e62b65ea2d90887b3c8 @coderanger coderanger committed
Showing with 6 additions and 0 deletions.
  1. +6 −0 Rakefile
View
6 Rakefile
@@ -66,5 +66,11 @@ end
desc "Run librarian"
task :librarian do
+ puts "** Syncing with Cheffile"
system("librarian-chef install")
end
+
+# Extend the existing task to also call librarian
+task :update do
+ Rake::Task[:librarian].invoke
+end

0 comments on commit 61e4367

Please sign in to comment.
Something went wrong with that request. Please try again.