Skip to content

Convenience script to launch generator#163

Merged
keiravillekode merged 1 commit intoexercism:mainfrom
keiravillekode:run-generator
Mar 25, 2026
Merged

Convenience script to launch generator#163
keiravillekode merged 1 commit intoexercism:mainfrom
keiravillekode:run-generator

Conversation

@keiravillekode
Copy link
Contributor

I synced the connect exercise using

bin/run-generator -r

@github-actions
Copy link
Contributor

This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested.

If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos.

[no important files changed]

For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping @exercism/maintainers-admin in a comment. Thank you!

@keiravillekode
Copy link
Contributor Author

I don't mind what name we give the script. It is most convenient to launch everything from the main directory, instead of launching the generator from within the generators directory.

If this becomes the canonical way to launch the generator, we can change showUsage to have

bin/run-generator [Options] ...

I synced the connect exercise using

```
bin/run-generator -r
```
@keiravillekode
Copy link
Contributor Author

We can also mention the generator in CONTRIBUTING.md - I don't have any preferred wording.

@oxe-i
Copy link
Contributor

oxe-i commented Mar 25, 2026

I don't mind what name we give the script. It is most convenient to launch everything from the main directory, instead of launching the generator from within the generators directory.

If this becomes the canonical way to launch the generator, we can change showUsage to have

bin/run-generator [Options] ...

Will do. I have a script here to generate the doc from the module comment on the generator.

I'll also adjust the contribution guidelines to be more incisive on posting on the forum before making a PR.

@keiravillekode
Copy link
Contributor Author

keiravillekode commented Mar 25, 2026

I use tab completion: without thinking, my fingers type bin/v tab or bin/g tab . So the clash with reorder-exercises when I type bin/r tab is unfortunate. So in a later PR that could become sort-exercises, or this could become generate. Up to you.

@keiravillekode keiravillekode merged commit 37fb310 into exercism:main Mar 25, 2026
4 checks passed
@keiravillekode keiravillekode deleted the run-generator branch March 25, 2026 23:41
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