Bower install directory
Closed this issue · 3 comments
yriy-gagarin commented
From README.md: "Execution goals
bower : executes bower install in target directory
grunt : executes Grunt in target directory"
Can i change the directory for bower install(not the same as target directory)?
adamdubiel commented
If you can somehow pass bower.json file path using command line arguments, then you can use this feature, but otherwise not. I would need to develop this feature.
yriy-gagarin commented
Thanks for the response! Problem was solved by using the <executions>
tag:
<executions>
<execution>
<id>bower-install</id>
<configuration>
<gruntBuildDirectory>src/main/webapp/res/app</gruntBuildDirectory>
</configuration>
<goals>
<goal>bower</goal>
</goals>
</execution>
<execution>
<id>grunt-execution</id>
<configuration>
<gruntBuildDirectory>src/main/webapp/res</gruntBuildDirectory>
<target>build-app</target>
</configuration>
<goals>
<goal>create-resources</goal>
<goal>npm</goal>
<goal>grunt</goal>
</goals>
</execution>
</executions>
adamdubiel commented
Thats creative :D Since you found the solution, i'm closing this issue.