Skip to content

Conversation

@kkysen
Copy link
Contributor

@kkysen kkysen commented Dec 3, 2025

Otherwise, a previously generated *.gen.sh file will still be run even if it's no longer supposed to be generated (and isn't anymore).

Otherwise, a previously generated `*.gen.sh` file will still be run
even if it's no longer supposed to be generated (and isn't anymore).
We search for and find non-generated scripts (`.sh`, but not `.gen.sh`),
whereas we record all generated scripts, which we then combine to get all scripts.
self.dir = directory
self.conf_file = os.path.join(directory, CONF_YML)
self.name = os.path.basename(directory)
def __init__(self, directory: Path, generated_scripts: set[Path]):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the error you're getting is because you're getting all the scripts in generated_scripts here, not just the ones in the current directory.

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.

3 participants