Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Bower for Visual Studio Team Services Build Status

Bower build task for Visual Studio Team Services.

Installation

Installation can be done using Visual Studio MarketPlace.

Note for installation on your own agent

If you have some trouble with bower installation and detection on your own agent. A simple workaround is to add bower as a dependency in your project's package.json. The vsts-bower task will then find and use your local version of bower.

If you encounter some trouble with NetworkService account. Add the path from npm prefix -g to the global path and launch the task again.

C:\>npm prefix -g
C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\npm

(see issue #1).

Source Code

Source code can be found on Github.

Usage

Add the task to your build configuration:

Add Bower Task

(Optional). Select command to execute in bower. (Defaults to install).

Set command

(Optional). Set advanced settings.

Set advanced

Options

  • Command: Command to execute. Default: install.
  • Arguments: Additional arguments passed to bower. --config.interactive=false is not needed.
  • Bower JSON Path: Relative path to bower.json file. Default: bower.json. Also defines the Current Working Directory.
  • Bower CLI: Optional. bower runtime to run. When agent can't find this bower runtime nor global installed one, it will install bower locally before run (slower). Default: node_modules/bower/bin/bower.

License

MIT

About

Bower build task for Visual Studio Team Services.

Resources

License

Packages

No packages published