Skip to content

Commit

Permalink
Add install task which uses generated bower.json
Browse files Browse the repository at this point in the history
  • Loading branch information
cheef committed Jun 24, 2014
1 parent f27ad37 commit f6244e6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/tasks/bower.rake
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ namespace :bower do
end
end

namespace :install do
desc "Install components from bower using previously generated bower.json"
task :deployment, :options do |_, args|
args.with_defaults(:options => '')
perform false do |bower|
sh "#{bower} install #{args[:options]}"
end
end
end

desc "Update bower components"
task :update, :options do |_, args|
args.with_defaults(:options => '')
Expand Down

0 comments on commit f6244e6

Please sign in to comment.