fix: correct paths for conditional dependencies in cargo-generate.toml
This commit is contained in:
@@ -12,10 +12,10 @@ database = { type = "string", prompt = "Database type", choices = [
|
|||||||
[conditional]
|
[conditional]
|
||||||
# Conditional dependencies based on database choice
|
# Conditional dependencies based on database choice
|
||||||
sqlite = { condition = "database == 'sqlite'", ignore = [
|
sqlite = { condition = "database == 'sqlite'", ignore = [
|
||||||
"template-infra/src/user_repository_postgres.rs",
|
"infra/src/user_repository_postgres.rs",
|
||||||
"migrations_postgres",
|
"migrations_postgres",
|
||||||
] }
|
] }
|
||||||
postgres = { condition = "database == 'postgres'", ignore = [
|
postgres = { condition = "database == 'postgres'", ignore = [
|
||||||
"template-infra/src/user_repository_sqlite.rs",
|
"infra/src/user_repository_sqlite.rs",
|
||||||
"migrations",
|
"migrations",
|
||||||
] }
|
] }
|
||||||
|
|||||||
Reference in New Issue
Block a user