crates: - name: A deps: - B features: F0: - - B - F0 - - B - F0 - name: B features: F0: null cases: - cmd: run default stdout: | Found 2 crates with unformatted features: A B Formatted 2 crates (all fixed). stderr: | [INFO] Running workflow 'default' [INFO] 1/1 f f diff: | diff --git A/Cargo.toml A/Cargo.toml index 78c5769bd7..8a27508a42 100644 --- A/Cargo.toml +++ A/Cargo.toml @@ -17,4 +17 @@ B = { version = "*", path = "../B"} -F0 = [ -"B/F0", -"B/F0", -] +F0 = [ "B/F0" ] diff --git B/Cargo.toml B/Cargo.toml index 3fa22af3e1..db61ce3b2d 100644 --- B/Cargo.toml +++ B/Cargo.toml @@ -16,2 +16 @@ edition = "2021" -F0 = [ -] +F0 = [] - cmd: run check stdout: | Found 2 crates with unformatted features: A B Error: Command 'f f' failed with exit code 1 stderr: | [INFO] Running workflow 'check' code: 1 - cmd: run fix stdout: | Found 2 crates with unformatted features: A B Formatted 2 crates (all fixed). stderr: | [INFO] Running workflow 'fix' [INFO] 1/1 f f diff: | diff --git A/Cargo.toml A/Cargo.toml index 78c5769bd7..8a27508a42 100644 --- A/Cargo.toml +++ A/Cargo.toml @@ -17,4 +17 @@ B = { version = "*", path = "../B"} -F0 = [ -"B/F0", -"B/F0", -] +F0 = [ "B/F0" ] diff --git B/Cargo.toml B/Cargo.toml index 3fa22af3e1..db61ce3b2d 100644 --- B/Cargo.toml +++ B/Cargo.toml @@ -16,2 +16 @@ edition = "2021" -F0 = [ -] +F0 = [] configs: - to_path: .zepter.yaml from_path: null verbatim: | version: format: 1 binary: 0.12.0 workflows: check: - [ 'f', 'f' ] fix: - [ $check.0, '--fix' ] default: - [ $fix.0 ] no_default_args: true