@@ -1,4 +1,16 @@
|
||||
[presets.config.tasks.setup.config]
|
||||
[presets.config.tasks.setup.env]
|
||||
priority = 1
|
||||
conditions = ["{{ ('.env-base' | file) and ('.env' | file | not ) }}"]
|
||||
commands = ["cp .env-base .env"]
|
||||
|
||||
[presets.config.tasks.setup.env2]
|
||||
priority = 1
|
||||
conditions = ["{{ ('.env.default' | file) and ('.env' | file | not ) }}"]
|
||||
commands = ["cp .env.default .env"]
|
||||
|
||||
[presets.config.tasks.setup.json]
|
||||
priority = 1
|
||||
conditions = [
|
||||
"{{ ('config.example.json' | file) and ('config.json' | file | not ) }}",
|
||||
]
|
||||
commands = ["cp config.example.json config.json"]
|
||||
|
||||
Reference in New Issue
Block a user