Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create parent directories with CLI #72

Merged
merged 3 commits into from
Nov 7, 2021
Merged

Create parent directories with CLI #72

merged 3 commits into from
Nov 7, 2021

Conversation

arctic-hen7
Copy link
Member

This changes an internal function in the CLI that's responsible for cleaning up old build artifacts. However, if the dist/ directory doesn't exist, it would fail. This PR fixes that by using create_dir_all.

Note that the error that spawned this fix was only reproducible in Docker (see #69), though this will likely fix a number of other possible issues with directory corruption and working with the .perseus/ directories in this repo.

This should make compiling for obscure Docker environments *far* easier while fixing!
These were only for testing in Docker, and they're no longer required.
@arctic-hen7 arctic-hen7 added C-bug Category: bug A-cli Area: command line interface P-high Priority: high labels Nov 7, 2021
@arctic-hen7
Copy link
Member Author

Tests are failing because of an apt issue in CI, so I'll force-merge this.

@arctic-hen7 arctic-hen7 merged commit 6dc0aab into main Nov 7, 2021
@arctic-hen7 arctic-hen7 deleted the fix-69 branch November 7, 2021 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cli Area: command line interface C-bug Category: bug P-high Priority: high
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant