ericnewton76 / vsts-bower

Bower build task for Visual Studio Team Services.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:TypeScript 76.4%Language:JavaScript 23.6%