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 dependencies based on database choice
|
||||
sqlite = { condition = "database == 'sqlite'", ignore = [
|
||||
"template-infra/src/user_repository_postgres.rs",
|
||||
"infra/src/user_repository_postgres.rs",
|
||||
"migrations_postgres",
|
||||
] }
|
||||
postgres = { condition = "database == 'postgres'", ignore = [
|
||||
"template-infra/src/user_repository_sqlite.rs",
|
||||
"infra/src/user_repository_sqlite.rs",
|
||||
"migrations",
|
||||
] }
|
||||
|
||||
Reference in New Issue
Block a user