Skip to content

Commit

Permalink
version 2.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Canop committed May 4, 2024
1 parent 6b7abbb commit d21901f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 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.17.0"></a>
### v2.17.0 - 2024/05/05
- default binding for 'c' in bacon.toml is now the new 'clippy-all' job which does what the old 'clippy' job was doing. 'clippy' job changed to not run on all targets. Default bacon.toml explain how to bind 'c' to clippy instead of 'clippy-all' - Fix #167
- expand env vars in job command unless the job specifies `expand_env_vars = false` - Fix #181
- some file events filtered out from watch (feedback welcome, especially if you notice some failures to recompute)
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bacon"
version = "2.16.1-dev"
version = "2.17.0"
authors = ["dystroy <[email protected]>"]
repository = "https://github.com/Canop/bacon"
description = "background rust compiler"
Expand Down
4 changes: 2 additions & 2 deletions src/export_settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ impl ExportSettings {
self.enabled = enabled;
}
if let Some(path) = &config.path {
self.path = path.clone();
self.path.clone_from(path);
}
if let Some(line_format) = &config.line_format {
self.line_format = line_format.clone();
self.line_format.clone_from(line_format);
}
}
}
6 changes: 3 additions & 3 deletions src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl Settings {
self.keybindings.add_all(keybindings);
}
if config.additional_alias_args.is_some() {
self.additional_alias_args = config.additional_alias_args.clone();
self.additional_alias_args.clone_from(&config.additional_alias_args);
}
for (name, job) in &config.jobs {
self.jobs.insert(name.clone(), job.clone());
Expand Down Expand Up @@ -138,9 +138,9 @@ impl Settings {
self.all_features = true;
}
if args.features.is_some() {
self.features = args.features.clone();
self.features.clone_from(&args.features);
}
self.additional_job_args = args.additional_job_args.clone();
self.additional_job_args.clone_from(&args.additional_job_args);
}
pub fn check(&self) -> Result<()> {
if self.jobs.is_empty() {
Expand Down

0 comments on commit d21901f

Please sign in to comment.