| Crates.io | kokiri |
| lib.rs | kokiri |
| version | 0.1.2 |
| created_at | 2024-10-25 03:50:28.390903+00 |
| updated_at | 2024-10-25 03:50:28.390903+00 |
| description | Test revisions of crates against other revisions of crates |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1422058 |
| size | 33,744 |
Test revisions of crates against other revisions of crates.
Test master of deku against other crates hosted on github.
instructions.toml[test]
url = "https://github.com/sharksforarms/deku"
name = "deku"
rev = "master"
[[instructions]]
# Required
url = "https://github.com/wcampbell0x2a/backhand.git"
# Required
name = "backhand"
# Optional
package = "backhand"
# Optional (master if omitted)
rev = "master"
# Optional cmd to take before test cmd
before_action = "cargo build --bins"
$ ./kokiri instructions.toml
Usage: kokiri [OPTIONS] <CONFIG> [CMD]
Arguments:
<CONFIG> Config
[CMD] Command to run [default: check] [possible values: check, test]
Options:
--root-dir <ROOT_DIR>
Root directory, tmp if not given
--from-github-dependents-info <FROM_GITHUB_DEPENDENTS_INFO>
Github Dependents Json
--no-exit-on-error
Don't exit on single failure
--no-stdout
Don't emit stdout while running commands
-h, --help
Print help
Using github-dependents-info, one can test against all repos that github reports as a dependent.
$ github-dependents-info --repo sharksforarms/deku --json > out.json
$ ./kokiri instructions.toml check --from-github-dependents-info out.json --no-exit-on-error --root-dir tmp --no-stdout