Skip to content

Commit

Permalink
fix(main): Forward bash exit code in amber CLI executable
Browse files Browse the repository at this point in the history
  • Loading branch information
klausi committed Jun 16, 2024
1 parent f70827d commit 37e290f
Show file tree
Hide file tree
Showing 7 changed files with 285 additions and 43 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run validity tests
run: cargo test validity --verbose
- name: Run all tests
run: cargo test --verbose
179 changes: 179 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ itertools = "0.11.0"
clap = { version = "4.4.18", features = ["derive"] }
tempfile = "3.10.1"

[dev-dependencies]
assert_cmd = "2.0.14"
predicates = "3.1.0"

[profile.release]
strip = true
lto = true
Expand All @@ -33,7 +37,11 @@ ci = "github"
# The installers to generate for each app
installers = []
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu"]
targets = [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
]
# Publish jobs to run in CI
pr-run-mode = "skip"
# Whether cargo-dist should create a Github Release or use an existing draft
Expand Down
Loading

0 comments on commit 37e290f

Please sign in to comment.