allegro/grunt-maven-plugin

Add a configuration option to run bower through node.js

Closed this issue · 7 comments

In the plugin grunt has the option to be run via the "runGruntWithNode" option. Can a simlar option be created for bower as well? This will simplify running bower on windows.

As soon as i come back from vacation i will take closer look at code (and
bower), but i guess it should be quite easy.
On Sep 8, 2014 10:28 PM, "Christopher Hotchkiss" notifications@github.com
wrote:

In the plugin grunt has the option to be run via the "runGruntWithNode"
option. Can a simlar option be created for bower as well? This will
simplify running bower on windows.


Reply to this email directly or view it on GitHub
#50.

Okay, as i thought it will be easy, but i will do some refactoring as well cos the code is getting rusty. I should be done with it on Sunday,

In issue #52 i saw example of configuring bower to run through node.js in gmp 1.4.x, just add:

<bowerExecutable>node_modules/bower/bin/bower</bowerExecutable>

Because refactor i started can take me a little bit more time.

Hey @adamdubiel we tried that option in the past but unfortunately it doesn't work on Windows since that file is not created.

Okay, stay tuned till tomorrow, sorry it takes so much time :/

Hi, i tried to implement this feature, but i have problems with bower not willing to run when using node. I'm not sure what the issue is here. Maybe you should use something like https://github.com/yatskevich/grunt-bower-task to run bower from grunt instead of gmp?

Closing the issue as wontfix, bower fails to cooperate.. post more comments or reopen if i can help in any other way.