Reputation: 58494
Assume that my working directory is c:\foo\
during the script execution. I would like run bower from there for c:\foo\bar\bower.json
file. This is available on npm by running npm install --prefix c:\foo\bar
.
Is there any equivalent command in bower?
Upvotes: 0
Views: 1604
Reputation: 36602
Add a .bowerrc
file to c:\foo\
with the following contents:
{
"cwd": "bar
}
this will set the working directory for Bower to c:\foo\bar\
.
Upvotes: 1