Spea / SpBowerBundle

Symfony2 Bundle to handle asset dependencies with bower
231 stars 44 forks source link

How to define sp_bower - binary path undepending of its environment #138

Closed linslin closed 8 years ago

linslin commented 8 years ago

I'd like to know how to define sp_bower bin path in config undepending of its enviroment. My node PATHs are configured well.

In that way, "/usr/bin/bower" will only works on UNIX / Ubuntu but not for Windows in my case. So, this works very well on Windows "C:\Users\AppData\Roaming\npm\bower" but it will break the other environments. I also dont want to use symbolic links or a secondary config file only for Windows.

config.yml

sp_bower:
    assetic: false
    install_on_warmup: false
    bin: // BOWER Path 

Thanks in advance!

linslin commented 8 years ago

Well,... =)

Removing the optional param "bin" in config file works well. Anyway, thanks!

Spea commented 8 years ago

:)