Crates.io | belay |
lib.rs | belay |
version | 0.5.0 |
source | src |
created_at | 2020-03-07 04:16:37.647036 |
updated_at | 2020-03-31 02:54:14.932268 |
description | Run your CI checks locally to git push with confidence |
homepage | |
repository | https://github.com/JoshMcguigan/belay |
max_upload_size | |
id | 216234 |
size | 73,163 |
Belay makes it easy to run your CI checks locally, so you can git push
with confidence.
In a git repo with either Gitlab or GitHub CI configured, running belay
with no arguments will parse your CI configuration and run your CI scripts on your local machine.
$ belay
Checking 'build':
Success!
Checking 'test':
... test output
..
.
Success!
Belay can also setup pre-commit or pre-push git hooks in your repo.
# to create a pre-push hook
$ belay hook push
# to create a pre-commit hook
$ belay hook commit
cargo install --force belay
Belay creates a configuration file in the following location:
The keys of the config file are described below:
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.