[cmsMake] support multiple generators
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 412
- Avg merge
- 6d 10h
- Merged PRs (30d)
- 3
Description
This is purely a feature request.
I propose that, if some gen/GEN line starts with ./ then it will be treated as a whole command and not just generator arguments.
This does not break old gen/GENs (as long as they didn't require some weird things that start with ./) but allows us to write modern gen/GENs which can use multiple generators like this:
#ST: 5
#COPY: testo/example0.txt
#COPY: testo/example1.txt
./gen/random.py 10 15 16
./gen/hard.py 10
...
Now that I think about it, to be even more backwards-compatible, we could introduce a #RUN: <command> instruction.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no implementation files or tests; start by locating cmsMake's handling of gen/GEN lines and reviewing existing generator examples. Confirm the intended choice between ./ command lines and a #RUN instruction, then verify that the selected behavior supports multiple generators while preserving existing gen/GEN usage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100