curist / grunt-bower

grunt task to copy bower installed packages to other folder(s)
MIT License
93 stars 27 forks source link

dest not working (windows) #45

Closed stephenlautier closed 9 years ago

stephenlautier commented 9 years ago

I'm trying to get this working using a dest folder and it doesn't seems to work.

This is the issue I'm getting: Writing public\vendor\jquery\C:\Users\stla2\Development\lab\grunt\simple.bower\dist\jquery.js...Fail to copy C:/Users/st la2/Development/lab/grunt/simple.bower/bower_components/jquery/dist/jquery.js for jquery!

dest folder specified seems to be appended to the full output path.

Also created a small example and having the same issue, this is the source basically http://plnkr.co/edit/yPg2G6

Running on Windows7 grunt-cli v0.1.13 grunt v0.4.5 grunt-bower v0.16.0

curist commented 9 years ago

Currently I didn't put much thoughts about windows compatiblity, and it seems the way we handle path replacing is causing this problem. Will try to fix this once I got my hands on a windows machine.

2014-12-03 22:05 GMT+08:00 Stephen notifications@github.com:

I'm trying to get this working using a dest folder and it doesn't seems to work.

This is the issue I'm getting: Writing public\vendor\jquery\C:\Users\stla2\Development\lab\grunt\simple.bower\dist\jquery.js...Fail to copy C:/Users/st la2/Development/lab/grunt/simple.bower/bower_components/jquery/dist/jquery.js for jquery!

dest folder specified seems to be appended to the full output path.

Also created a small example and having the same issue, this is the source basically http://plnkr.co/edit/yPg2G6

Running on Windows7 grunt-cli v0.1.13 grunt v0.4.5 grunt-bower v0.16.0

— Reply to this email directly or view it on GitHub https://github.com/curist/grunt-bower/issues/45.