Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: new project template should insert chosen name into Makefile #448

Open
grexe opened this issue Oct 28, 2024 · 2 comments
Open

RFE: new project template should insert chosen name into Makefile #448

grexe opened this issue Oct 28, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@grexe
Copy link

grexe commented Oct 28, 2024

When I create a new project via one of the templates, I would expect the Makefile to be adjusted so e.g. the line

# The name of the binary.
NAME = my_cli_app

would contain the correct name (as chosen for the project) as NAME.
Possibly also other adjustments would make sense.

@jackburton79 jackburton79 added the enhancement New feature or request label Oct 28, 2024
@jackburton79
Copy link
Collaborator

Yes that would be nice.

@grexe
Copy link
Author

grexe commented Nov 24, 2024

it would be quite simple to add I think. Just add ${var} placeholders to the template and fill in the values when creating the files.
I think this is also how IntelliJ does it.

Something like

  • ${project.name}
  • ${project.version}
  • ${author.name}
    ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants