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

keep example folder in generators up to date #92

Open
jhowlett-scottlogic opened this issue Oct 7, 2022 · 0 comments
Open

keep example folder in generators up to date #92

jhowlett-scottlogic opened this issue Oct 7, 2022 · 0 comments
Labels

Comments

@jhowlett-scottlogic
Copy link
Contributor

jhowlett-scottlogic commented Oct 7, 2022

Having the example folder up to date gives new users an understanding of the generators capability helping gain adoption.

One option: A pre-PR hook could be used to run the forge command with the new generator and then an auto commit made to update the example/ folder with the new output

Another option: a workflow in each generator that is triggered on push to master that runs the forge command and updates the example/ folder

@jhowlett-scottlogic jhowlett-scottlogic changed the title keep example/ folder in generators up to date keep example folder in generators up to date Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant