Skip to content

clarify directory creation error messages#2388

Merged
lerno merged 20 commits into
c3lang:masterfrom
chrischtel:improve-error-msg
Aug 25, 2025
Merged

clarify directory creation error messages#2388
lerno merged 20 commits into
c3lang:masterfrom
chrischtel:improve-error-msg

Conversation

@chrischtel
Copy link
Copy Markdown
Contributor

@chrischtel chrischtel commented Aug 10, 2025

This PR improves error handling and messages when making new projects or libraries, mainly for directory creation.

@chrischtel chrischtel marked this pull request as ready for review August 10, 2025 11:01
@chrischtel chrischtel changed the title fix(project): clarify directory creation error messages clarify directory creation error messages Aug 10, 2025
@lerno
Copy link
Copy Markdown
Collaborator

lerno commented Aug 14, 2025

There are already some helper functions for this. Look for example how void file_create_folders(const char *name) does this.

@chrischtel
Copy link
Copy Markdown
Contributor Author

There are already some helper functions for this. Look for example how void file_create_folders(const char *name) does this.

Okay thanks!

@lerno
Copy link
Copy Markdown
Collaborator

lerno commented Aug 16, 2025

Will you update this PR to use those?

@chrischtel
Copy link
Copy Markdown
Contributor Author

Yes I will do tomorrow. Haven't had much time

Comment thread src/build/project_creation.c
Comment thread src/build/project_creation.c
@chrischtel
Copy link
Copy Markdown
Contributor Author

Is it ready to be merged @lerno ?

@lerno lerno merged commit f43a754 into c3lang:master Aug 25, 2025
42 of 43 checks passed
@lerno
Copy link
Copy Markdown
Collaborator

lerno commented Aug 25, 2025

Thank you!

@chrischtel chrischtel deleted the improve-error-msg branch August 25, 2025 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants