mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-09-19 22:07:28 +02:00
706bbac9f0
this commit moves the default config into a seperate folder. And it adds a preLaunchTask which copies the default dev config to the used dev config. This is done with the cp option '-ru' so if the files in the target dir (current config) are newer they are not overwritten.
25 lines
No EOL
914 B
JSON
25 lines
No EOL
914 B
JSON
{
|
|
// Verwendet IntelliSense zum Ermitteln möglicher Attribute.
|
|
// Zeigen Sie auf vorhandene Attribute, um die zugehörigen Beschreibungen anzuzeigen.
|
|
// Weitere Informationen finden Sie unter https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
|
|
{
|
|
"name": "run CraftBeerPi4",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"module": "run",
|
|
"args": ["--config-folder-path=./.devcontainer/cbpi-dev-config", "start"],
|
|
"preLaunchTask": "copy default cbpi config files if dev config files dont exist"
|
|
},
|
|
|
|
{
|
|
"name": "setup CraftBeerPi4: create config folder structure",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"module": "run",
|
|
"args": ["--config-folder-path=./.devcontainer/cbpi-dev-config", "setup"]
|
|
}
|
|
]
|
|
} |