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

feat(cargo-husky): Adds pre-commit and pre-push hooks #241

Merged
merged 5 commits into from
Dec 22, 2023
Merged

Conversation

0xJepsen
Copy link
Contributor

@0xJepsen 0xJepsen commented Dec 22, 2023

Note:

  • the hooks need to be built before tested. So if you want to change one of the hook you have to clean and build fresh. Some lints mdbook lints where attempted to be fixed
  • Some Mdbook lints were fixed

@0xJepsen 0xJepsen requested a review from Alexangelj December 22, 2023 21:08
Copy link
Contributor

@Alexangelj Alexangelj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, how do we run these? or do they run automatically when we do git commit/push?

@0xJepsen
Copy link
Contributor Author

nice, how do we run these? or do they run automatically when we do git commit/push?

They run automatically if you have built locally. the are triggered by the commit and push

@0xJepsen 0xJepsen merged commit a5fc647 into main Dec 22, 2023
5 checks passed
@0xJepsen 0xJepsen deleted the cargo_husky branch December 22, 2023 23:57
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

Successfully merging this pull request may close these issues.

2 participants