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

pre-commit hook #16

Open
RobertDeRose opened this issue Nov 16, 2024 · 0 comments
Open

pre-commit hook #16

RobertDeRose opened this issue Nov 16, 2024 · 0 comments

Comments

@RobertDeRose
Copy link

Hello @jirutka

I found your project via a search for a means to add some basic templating using nothing but Bash. I love this project so much. It just works so perfectly for my needs.

With that, I made a pre-commit hook that will locate any ESH template that ends with a .esh extension in a repository and render it using test_cases using Front Matter at the top of the templates using ESH comments.

It will then optionally run the generated templates through Shellcheck

I am opening this issue just to make you aware of the pre-commit hook and possibly get your feedback on it.

https://github.com/RobertDeRose/esh-template-check/

Thanks again!

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

No branches or pull requests

1 participant