47 Commits (main)
 

Author SHA1 Message Date
Bauke 0d09e2e086
Factor creating a GlobSet from a Vec<String> out to a utility function.
2 months ago
Bauke 47b1b7ec51
Move utilities to a directory.
2 months ago
Bauke 5d26a72c8b
Rename git_staged to staged.
2 months ago
Bauke 4a4974fa35
Add git_staged documentation.
2 months ago
Bauke e4ed623e64
Skip hook if no globs are matched.
2 months ago
Bauke 651699c40a
Add git_staged CLI functionality.
2 months ago
Bauke da0e38e3bb
Add git_staged as a config option.
2 months ago
Bauke 4ba723d5cc
Make Clippy happy, use license symlinks.
3 months ago
Bauke a8f587f43a
Add extra metadata to Cargo.toml files.
3 months ago
Bauke 82cbc580dc
Use the generate CLI reference.
3 months ago
Bauke 5bb3a282c3
Generate the subcommands usage reference automatically.
3 months ago
Bauke a4d0431a32
Add the template option documentation.
3 months ago
Bauke 8d1baaf57f
Add the general.template option.
3 months ago
Bauke 1a79f9e051
Refactor subcommands into their own functions.
3 months ago
Bauke 9c11ae3db6
Switch to dedicated structs for subcommand arguments.
3 months ago
Bauke aed22fad90
Add the .deb installation section.
3 months ago
Bauke 4069582282
Version 0.1.0!
3 months ago
Bauke 8fc2a1d059
Add the deploy task and mdBook.
3 months ago
Bauke 06899c42c7
Add an explicit --config to the default hook template.
3 months ago
Bauke 4dab507636
Add config file configuration.
3 months ago
Bauke b386e59c3e
Start using Hooked!
3 months ago
Bauke ac1fb0163c
1 is singular, not 0. 🤦
3 months ago
Bauke d4f22fb0c5
Pluralize words correctly.
3 months ago
Bauke 4f28ced1b1
Rename hooked-library to hooked-config.
3 months ago
Bauke 0743a982d1
Add NO_COLOR support and CLI testing.
3 months ago
Bauke 16757cabce
Only check for the git hooks directory in (un)install subcommands.
3 months ago
Bauke 91a5cc4203
Update Cargo.lock and add book to gitignore.
3 months ago
Bauke c4c45a0368
Print stderr too and only output when warn/error conditions happen.
3 months ago
Bauke 7338b5667a
Add a little Hooked header.
3 months ago
Bauke 3f4c8f010f
Add the CLI run subcommand.
3 months ago
Bauke 3cf6385d2c
Add common mdBook tasks.
3 months ago
Bauke 599a4bcef2
Derive Eq and PartialEq for ExitAction.
3 months ago
Bauke 54657adaf0
Add the uninstall subcommand.
3 months ago
Bauke 0d009834fe
Add basic CLI setup with install command.
3 months ago
Bauke d958780c25
Switch to Cargo workspace setup.
3 months ago
Bauke 09921bd6cb
Remove small.
3 months ago
Bauke 0835a08981
Use snake_case for renaming enums.
3 months ago
Bauke 10c871d5c9
Add default pre_commit.
3 months ago
Bauke 1084bd08e2
Add default to on_failure.
3 months ago
Bauke bff78ccc21
Add a with-hooks test.
3 months ago
Bauke c47d0a1e6e
Implement Default for ExitAction.
3 months ago
Bauke 3f0f643a8a
Add a test for serializing and update snapshots.
3 months ago
Bauke 7a543409ba
Add the PreCommit hook struct.
3 months ago
Bauke 1eecfa7146
Add the ExitAction enum.
3 months ago
Bauke 4d62527e23
Add the Task struct.
3 months ago
Bauke 3846a62591
Project setup commit.
3 months ago
Bauke f3f8992ce0
Initial commit! 🪝
3 months ago