diff --git a/Cargo.toml b/Cargo.toml index 9bae29e730..b1594b7e6a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -112,13 +112,13 @@ default-features = false ## derive [workspace.dependencies.derive_tools] -version = "~0.19.0" +version = "~0.20.0" path = "module/core/derive_tools" default-features = false features = [ "enabled" ] [workspace.dependencies.derive_tools_meta] -version = "~0.16.0" +version = "~0.17.0" path = "module/core/derive_tools_meta" default-features = false features = [ "enabled" ] @@ -146,19 +146,19 @@ path = "module/alias/fundamental_data_type" default-features = false [workspace.dependencies.variadic_from] -version = "~0.12.0" +version = "~0.13.0" path = "module/core/variadic_from" default-features = false features = [ "enabled" ] [workspace.dependencies.clone_dyn] -version = "~0.14.0" +version = "~0.15.0" path = "module/core/clone_dyn" default-features = false features = [ "enabled" ] [workspace.dependencies.clone_dyn_meta] -version = "~0.14.0" +version = "~0.15.0" path = "module/core/clone_dyn_meta" features = [ "enabled" ] @@ -200,7 +200,7 @@ path = "module/core/for_each" default-features = false [workspace.dependencies.former] -version = "~0.15.0" +version = "~0.16.0" path = "module/core/former" default-features = false @@ -219,12 +219,12 @@ version = "~0.6.0" path = "module/core/impls_index_meta" [workspace.dependencies.mod_interface] -version = "~0.16.0" +version = "~0.17.0" path = "module/core/mod_interface" default-features = false [workspace.dependencies.mod_interface_meta] -version = "~0.16.0" +version = "~0.17.0" path = "module/core/mod_interface_meta" default-features = false @@ -304,7 +304,7 @@ default-features = false ## error [workspace.dependencies.error_tools] -version = "~0.11.0" +version = "~0.12.0" path = "module/core/error_tools" default-features = false @@ -316,7 +316,7 @@ path = "module/alias/werror" ## string tools [workspace.dependencies.strs_tools] -version = "~0.10.0" +version = "~0.11.0" path = "module/core/strs_tools" default-features = false @@ -337,7 +337,7 @@ path = "module/alias/file_tools" default-features = false [workspace.dependencies.proper_path_tools] -version = "~0.3.0" +version = "~0.4.0" path = "module/core/proper_path_tools" default-features = false @@ -345,7 +345,7 @@ default-features = false ## process tools [workspace.dependencies.process_tools] -version = "~0.2.0" +version = "~0.3.0" path = "module/core/process_tools" default-features = false @@ -387,7 +387,7 @@ default-features = false ## ca [workspace.dependencies.wca] -version = "~0.14.0" +version = "~0.15.0" path = "module/move/wca" @@ -401,7 +401,7 @@ path = "module/move/wcensor" ## willbe [workspace.dependencies.willbe] -version = "~0.8.0" +version = "~0.9.0" path = "module/move/willbe" @@ -441,7 +441,7 @@ version = "~0.4.0" path = "module/move/deterministic_rand" [workspace.dependencies.crates_tools] -version = "~0.7.0" +version = "~0.8.0" path = "module/move/crates_tools" diff --git a/module/core/clone_dyn/Cargo.toml b/module/core/clone_dyn/Cargo.toml index 3775af0101..dedc84a1d5 100644 --- a/module/core/clone_dyn/Cargo.toml +++ b/module/core/clone_dyn/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clone_dyn" -version = "0.14.0" +version = "0.15.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", diff --git a/module/core/clone_dyn_meta/Cargo.toml b/module/core/clone_dyn_meta/Cargo.toml index f252f7b6ea..07177a0234 100644 --- a/module/core/clone_dyn_meta/Cargo.toml +++ b/module/core/clone_dyn_meta/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clone_dyn_meta" -version = "0.14.0" +version = "0.15.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", diff --git a/module/core/derive_tools/Cargo.toml b/module/core/derive_tools/Cargo.toml index bf6f4db08b..cdf5b512d4 100644 --- a/module/core/derive_tools/Cargo.toml +++ b/module/core/derive_tools/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "derive_tools" -version = "0.19.0" +version = "0.20.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", diff --git a/module/core/derive_tools_meta/Cargo.toml b/module/core/derive_tools_meta/Cargo.toml index 721c656948..7a3048a953 100644 --- a/module/core/derive_tools_meta/Cargo.toml +++ b/module/core/derive_tools_meta/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "derive_tools_meta" -version = "0.16.0" +version = "0.17.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", diff --git a/module/core/error_tools/Cargo.toml b/module/core/error_tools/Cargo.toml index 7fe9629d40..2ef98cce7d 100644 --- a/module/core/error_tools/Cargo.toml +++ b/module/core/error_tools/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "error_tools" -version = "0.11.0" +version = "0.12.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", diff --git a/module/core/for_each/tests/inc/for_each_test.rs b/module/core/for_each/tests/inc/for_each_test.rs index f9acf2f003..6180d743a9 100644 --- a/module/core/for_each/tests/inc/for_each_test.rs +++ b/module/core/for_each/tests/inc/for_each_test.rs @@ -590,7 +590,7 @@ tests_impls! macro_rules! test_with { ( - $( $Arg : tt )* + $( $Arg:tt )* ) => {{ GOT += stringify!( $( $Arg )* ); diff --git a/module/core/former/Cargo.toml b/module/core/former/Cargo.toml index 648cb1bb3b..cf6e7e15f5 100644 --- a/module/core/former/Cargo.toml +++ b/module/core/former/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "former" -version = "0.15.0" +version = "0.16.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", diff --git a/module/core/mod_interface/Cargo.toml b/module/core/mod_interface/Cargo.toml index c54a92d077..86db3f8446 100644 --- a/module/core/mod_interface/Cargo.toml +++ b/module/core/mod_interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mod_interface" -version = "0.16.0" +version = "0.17.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", diff --git a/module/core/mod_interface_meta/Cargo.toml b/module/core/mod_interface_meta/Cargo.toml index b1475448c7..550f3b9984 100644 --- a/module/core/mod_interface_meta/Cargo.toml +++ b/module/core/mod_interface_meta/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mod_interface_meta" -version = "0.16.0" +version = "0.17.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", diff --git a/module/core/process_tools/Cargo.toml b/module/core/process_tools/Cargo.toml index 4e762860e9..7f31dceaa1 100644 --- a/module/core/process_tools/Cargo.toml +++ b/module/core/process_tools/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "process_tools" -version = "0.2.0" +version = "0.3.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", diff --git a/module/core/proper_path_tools/Cargo.toml b/module/core/proper_path_tools/Cargo.toml index 13d9daa464..a9ae0e8b24 100644 --- a/module/core/proper_path_tools/Cargo.toml +++ b/module/core/proper_path_tools/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "proper_path_tools" -version = "0.3.0" +version = "0.4.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", diff --git a/module/core/strs_tools/Cargo.toml b/module/core/strs_tools/Cargo.toml index 9400b608d9..6f04f509a0 100644 --- a/module/core/strs_tools/Cargo.toml +++ b/module/core/strs_tools/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "strs_tools" -version = "0.10.0" +version = "0.11.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", diff --git a/module/core/variadic_from/Cargo.toml b/module/core/variadic_from/Cargo.toml index e2c90a8fbe..3d1514bced 100644 --- a/module/core/variadic_from/Cargo.toml +++ b/module/core/variadic_from/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "variadic_from" -version = "0.12.0" +version = "0.13.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", diff --git a/module/move/crates_tools/Cargo.toml b/module/move/crates_tools/Cargo.toml index ad135063dd..d6b77678b2 100644 --- a/module/move/crates_tools/Cargo.toml +++ b/module/move/crates_tools/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "crates_tools" -version = "0.7.0" +version = "0.8.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", diff --git a/module/move/wca/Cargo.toml b/module/move/wca/Cargo.toml index 2680acb71a..9c418b4e7d 100644 --- a/module/move/wca/Cargo.toml +++ b/module/move/wca/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wca" -version = "0.14.0" +version = "0.15.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", diff --git a/module/move/willbe/Cargo.toml b/module/move/willbe/Cargo.toml index 502ee9c3b9..3ceeabea66 100644 --- a/module/move/willbe/Cargo.toml +++ b/module/move/willbe/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "willbe" -version = "0.8.0" +version = "0.9.0" edition = "2021" authors = [ "Kostiantyn Wandalen ", diff --git a/module/move/willbe/src/command/publish.rs b/module/move/willbe/src/command/publish.rs index 68f83df6bf..2da426a841 100644 --- a/module/move/willbe/src/command/publish.rs +++ b/module/move/willbe/src/command/publish.rs @@ -2,6 +2,7 @@ mod private { use crate::*; + use colored::Colorize; use wca::{ Args, Props }; use wtools::error::Result; @@ -33,7 +34,10 @@ mod private if dry && report.packages.iter().find( |( _, p )| p.publish_required ).is_some() { - println!( "To apply plan, call the command `will .publish {} dry:0 {}`", args_line, prop_line ) + let args = if args_line.is_empty() { String::new() } else { format!(" {}", args_line) }; + let prop = if prop_line.is_empty() { String::new() } else { format!(" {}", prop_line) }; + let line = format!("will .publish{}{} dry:0", args, prop); + println!("To apply plan, call the command `{}`", line.blue()); // qqq : for Petro : for Bohdan : bad. should be exact command with exact parameters } diff --git a/module/move/willbe/src/command/test.rs b/module/move/willbe/src/command/test.rs index 8146bc8ab2..d06f749a68 100644 --- a/module/move/willbe/src/command/test.rs +++ b/module/move/willbe/src/command/test.rs @@ -5,6 +5,7 @@ mod private use std::collections::HashSet; use std::path::PathBuf; + use colored::Colorize; use wca:: { Args, @@ -110,7 +111,10 @@ mod private { if dry { - print!( "You can execute the plan with 'will .test {} dry:0 {}'.", args_line.trim(), prop_line.trim() ); + let args = if args_line.is_empty() { String::new() } else { format!(" {}", args_line) }; + let prop = if prop_line.is_empty() { String::new() } else { format!(" {}", prop_line) }; + let line = format!("will .publish{}{} dry:0", args, prop); + println!("To apply plan, call the command `{}`", line.blue()); } else {