Skip to content

Commit c6b7973

Browse files
committed
fix: ignore instead of exclude
1 parent 1a24047 commit c6b7973

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

cargo-generate.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[template]
44
cargo_generate_version = ">=0.22.0"
5-
exclude = ["./assets/wallpaper.png, Cargo.toml"]
5+
ignore = ["*.png, Cargo.toml"]
66

77
[placeholders.package_name]
88
type = "string"
@@ -46,14 +46,14 @@ default = false
4646
## License
4747

4848
[conditional.'license == MIT']
49-
exclude = ["LICENSE-APACHE"]
49+
ignore = ["LICENSE-APACHE"]
5050

5151
[conditional. 'license == APACHE']
52-
exclude = ["LICENSE-MIT"]
52+
ignore = ["LICENSE-MIT"]
5353

5454
## Workflows
5555
[conditional.'github_release == false']
56-
exclude = [".github/workflows/release.yaml"]
56+
ignore = [".github/workflows/release.yaml"]
5757

5858
## Dependencies
5959
[conditional. 'sentry == true']
@@ -64,4 +64,4 @@ default = "https://examplePublicKey@o0.ingest.sentry.io/0"
6464

6565
## Files
6666
[conditional. 'sentry == false']
67-
exclude = ["./src/functions.rs", ".env.example"]
67+
ignore = ["./src/functions.rs", ".env.example"]

src/main.rs.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use {{ package_name }}::{load_sentry};
1+
use {{ package_name }}::load_sentry;
22
use std::thread::sleep;
33

44
#[path = "1_module/tests/add_sub.rs"]

0 commit comments

Comments
 (0)