Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.20.1 - fix logging bug #67

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.20.1] - 2024-09-25

### Fixed

- Fix bug where `tinted-builder-rust` displays build information by
default when `tinty apply` is run

## [0.20.0] - 2024-09-25

### Added
Expand Down Expand Up @@ -178,6 +185,7 @@

- Initial release

[0.20.1]: https://github.com/tinted-theming/tinty/compare/v0.20.0...v0.20.1
[0.20.0]: https://github.com/tinted-theming/tinty/compare/v0.19.0...v0.20.0
[0.19.0]: https://github.com/tinted-theming/tinty/compare/v0.18.0...v0.19.0
[0.18.0]: https://github.com/tinted-theming/tinty/compare/v0.17.0...v0.18.0
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,7 +1,7 @@
[package]
name = "tinty"
description = "Change the theme of your terminal, text editor and anything else with one command!"
version = "0.20.0"
version = "0.20.1"
edition = "2021"
license = "MIT"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion src/operations/apply.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub fn apply(
let item_template_path: PathBuf =
data_path.join(format!("{}/{}", REPO_DIR, &item_name));

build(&item_template_path, custom_schemes_path, is_quiet)?;
build(&item_template_path, custom_schemes_path, true)?;
}

Ok(())
Expand Down
6 changes: 1 addition & 5 deletions tests/cli_apply_subcommand_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,6 @@ fn test_cli_apply_subcommand_with_custom_schemes() -> Result<()> {
)?;
let custom_scheme_file_path =
data_path.join(format!("custom-schemes/base16/{}.yaml", scheme_name));
let expected_output = format!(
r#"Successfully generated "base16" themes for "base16" at "{}/repos/tinted-shell/scripts/*.sh"#,
data_path.display()
);
let current_scheme_path = data_path.join(CURRENT_SCHEME_FILE_NAME);
let scheme_content =
fs::read_to_string(Path::new("./tests/fixtures/schemes/tinty-generated.yaml"))?;
Expand All @@ -201,7 +197,7 @@ fn test_cli_apply_subcommand_with_custom_schemes() -> Result<()> {
scheme_name_with_system,
);
assert!(
stdout.contains(&expected_output),
stdout.is_empty(),
"stdout does not contain the expected output"
);
assert!(
Expand Down
Loading