Files
atom/script
Radu Micu 8e6dcf43b0 better script/clean removal for windows
Now `script/clean` uses `del /F /Q /S` to cleanup the folders but `del /S` deletes specified files from all subdirectories, so if we pass a folder as a parameter it will only delete the files within the folder and all subfolders recursively but not the actual folders. And this can cause problems, see Issue #2487

A better way is to use `rmdir /S /Q` as it takes care of the folder itself and it's contents.
/S - removes all directories and files in the specified directory in addition to the directory itself. (removes the directory tree)
/Q - obvious this is quite mode

I tested this approach on a couple machines that needed a clean before building and works OK with `rmdir`. It might give a warning in the console like `The system cannot find the file specified.` because not all of them are there but it can be ignored as the script will finish running.
2014-06-06 11:26:43 +01:00
..
2014-06-04 13:14:00 -07:00
2013-10-19 22:32:26 +08:00
2014-03-25 15:40:43 +08:00
2013-11-01 10:58:25 -07:00
2014-05-28 18:31:20 -07:00
2014-06-06 11:26:43 +01:00
2013-12-16 17:51:20 -08:00
2014-01-24 21:55:49 +08:00
2014-05-06 17:03:19 -07:00
2014-06-05 09:29:01 +06:00
2014-03-25 15:40:43 +08:00