-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix psc-package-clean and test cleanup on Windows
Replaces use of `Turtle.rmtree` with `System.Directory.removePathForcibly` to fix the following issues on Windows. `spago psc-package-clean` (and its test) fail because: 1. Git marks files under its /objects subdirectory as read-only 2. Turtle.rmtree fails to delete files marked as read-only So `rmtree` fails to remove any folder that's a git repository. As well as `psc-package-clean`, general test cleanup fails, meaning the test suite will fail completely when run for the second time.
- Loading branch information
Showing
4 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters