Skip to content

Create parent dirs for Ninja file#89

Merged
leynos merged 13 commits intomainfrom
codex/ensure-parent-directories-exist-when-writing-ninja-file
Aug 11, 2025
Merged

Create parent dirs for Ninja file#89
leynos merged 13 commits intomainfrom
codex/ensure-parent-directories-exist-when-writing-ninja-file

Conversation

@leynos
Copy link
Copy Markdown
Owner

@leynos leynos commented Aug 8, 2025

Summary

  • ensure parent directories exist before writing a Ninja manifest
  • test emitting a Ninja file into a non-existent directory

Testing

  • make fmt (fails: AGENTS.md:153 MD040/fenced-code-language Fenced code blocks should have a language specified)
  • cargo fmt --all
  • make lint
  • make test

https://chatgpt.com/codex/tasks/task_e_689671720f9483228ad0e3782d5390a5

Summary by Sourcery

Create missing parent directories prior to emitting Ninja manifests and verify the behavior with a new unit test.

New Features:

  • Ensure parent directories are created before writing a Ninja file

Tests:

  • Add test to verify Ninja emission into a nested non-existent directory

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant