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

Githook for auto format #42

Open
leobenkel opened this issue Feb 19, 2020 · 4 comments
Open

Githook for auto format #42

leobenkel opened this issue Feb 19, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@leobenkel
Copy link
Owner

auto format and other cool stuff before git push

@brbrown25
Copy link

The following are some things that pop into my head that might be interesting to follow up on.
https://github.com/randomcoder/sbt-git-hooks
https://github.com/sbt/sbt-git
https://blog.softwaremill.com/reusable-pre-commit-hooks-in-scala-projects-d8bb327047ee

I think it might be this https://github.com/streamich/git-cz but in our node projects we have something that basically inits the git hooks for you. so would be cool if there was an sbt task you could run like sbt init and it would generate the pre commit hooks. just some thoughts I had following your awesome talk!

@leobenkel
Copy link
Owner Author

yes ! Absolutely ! This is exactly what I had in mind, or even hooking the task to the reload step of SBT so it runs each time you open up the sbt terminal.

thank you for all the links ! Ill take a look and give a go at it as soon as i have free time.

@leobenkel leobenkel added the enhancement New feature or request label May 28, 2020
@brbrown25
Copy link

I also would be down to give this a look when I have some free time as well

@leobenkel
Copy link
Owner Author

that would be amazing !

The more contributors, different point of views and use cases we have, the better !

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