No description, website, or topics provided.
Ruby
Latest commit 7006160 Feb 3, 2015 @blackjid blackjid bump to 1.1.0

README.md

Capistrano::Bower Gem Version

Bower for support for Capistrano 3.x

Installation

Add this line to your application's Gemfile:

gem 'capistrano-bower'
gem 'capistrano'

And then execute:

$ bundle

Or install it yourself as:

$ gem install capistrano-bower

Usage

Require in Capfile to use the default task:

require 'capistrano/bower'

The task will run before deploy:updated as part of Capistrano's default deploy, or can be run in isolation with cap production bower:install

Configurable options, shown here with defaults:

set :bower_flags, '--quiet --config.interactive=false'
set :bower_roles, :web
set :bower_target_path, nil
set :bower_bin, :bower

If your bower.json is not in the root directory, set the directory with :bower_target_path. For example with Symfony2:

set :bower_flags, '--quiet --config.interactive=false'
set :bower_roles, :web
set :bower_target_path, "#{release_path}/web"

If your bower executable is not found in the default PATH by capistrano, set the bower_bin option. For example:

set :bower_bin, '/usr/local/node/node-default/bin/bower'

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Credits

Thank you contributors!

Platanus

capistrano-bower is maintained by platanus.

License

Guides is © 2014 platanus, spa. It is free software and may be redistributed under the terms specified in the LICENSE file.