Skip to content

Commit

Permalink
version 2.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Canop committed Sep 15, 2023
1 parent 0ef6935 commit 4ab9e68
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 99 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
### next
<a name="v2.13.0"></a>
### v2.13.0 - 2023/09/15
- fix mouse wheel scrolling not working on Windows - Fix #153 - Thanks @Adham-A
- detect locations in test failures, thus enabling jumps to those failures
- more relevant suggestions in help line
Expand Down
116 changes: 25 additions & 91 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bacon"
version = "2.12.2-dev"
version = "2.13.0"
authors = ["dystroy <[email protected]>"]
repository = "https://github.com/Canop/bacon"
description = "background rust compiler"
Expand All @@ -14,7 +14,7 @@ rust-version = "1.65"
[dependencies]
anyhow = "1.0.68"
cargo_metadata = "0.14.0"
clap = { version = "4.3", features = ["derive", "cargo"] }
clap = { version = "4.4", features = ["derive", "cargo"] }
clap-help = "0.6.1"
cli-log = "2.0.0"
crokey = "0.4.1"
Expand Down
6 changes: 3 additions & 3 deletions defaults/default-bacon.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ command = [
need_stdout = false

# This job lets you run
# * all tests: bacon test
# * a specific test: bacon test -- config::test_default_files
# * the tests of a package: bacon test -- -- -p config
# - all tests: bacon test
# - a specific test: bacon test -- config::test_default_files
# - the tests of a package: bacon test -- -- -p config
[jobs.test]
command = [
"cargo", "test", "--color", "always",
Expand Down
1 change: 0 additions & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,3 @@ pub fn run(
executor.die()?;
Ok(next_job)
}

4 changes: 3 additions & 1 deletion src/line.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ impl Line {
LineType::Location => {
// the location part is a string at end like src/truc:15:3
// or src/truc
self.content.strings.last()
self.content
.strings
.last()
.and_then(|ts| regex_captures!(r"(\S+)$", ts.raw.as_str()))
.map(|(_, path)| path)
}
Expand Down

0 comments on commit 4ab9e68

Please sign in to comment.