cms-dev / cms-dev/cms

[cmsMake] support multiple generators

Open
#763 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature_request taskenv
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.