adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.25k stars 7.63k forks source link

brackets-shell cef-extract Grunt task error #4493

Open dangoor opened 11 years ago

dangoor commented 11 years ago

The cef-extract grunt task fails with an error (though it does actually extract the zip file to the right place).

$ ls downloads
cef_binary_3.1453.1279_macosx.zip   cef_binary_3.1545.1306_macosx.zip
cef_binary_3.1453.1306_macosx.zip   node-v0.8.20-darwin-x86.tar.gz
$ grunt cef cef-extract
Running "cef" task

Running "cef-clean" task

Running "cef-extract" task

Running "cef-symlinks" task

Running "cef-extract" task
Error: ENOTEMPTY, rename 'deps/cef_binary_3.1545.1306_macosx'
Warning: Task "cef-extract" failed. Use --force to continue.

Aborted due to warnings.
JeffryBooher commented 11 years ago

I'll look at this one. I've run across a few grunt tasks that fail for the shell and it would be nice to clean this up.

JeffryBooher commented 10 years ago

Pretty nasty one to figure out but I think the grunt changes I hacked together fix this once and for all on all platforms.