support: vscode + VINTAGESTORY_DATA env + optional ConfigLib with warning #1
3
.vscode/tasks.json
vendored
3
.vscode/tasks.json
vendored
@@ -5,6 +5,9 @@
|
||||
"label": "check env",
|
||||
"type": "shell",
|
||||
"command": "[ -n \"$VINTAGE_STORY\" ] || { echo 'ERROR: VINTAGE_STORY is not set'; exit 1; }; [ -n \"$VINTAGE_STORY_DATA\" ] || { echo 'ERROR: VINTAGE_STORY_DATA is not set'; exit 1; }",
|
||||
"windows": {
|
||||
"command": "if (-not $env:VINTAGE_STORY) { Write-Host 'ERROR: VINTAGE_STORY is not set'; exit 1 }; if (-not $env:VINTAGE_STORY_DATA) { Write-Host 'ERROR: VINTAGE_STORY_DATA is not set'; exit 1 }"
|
||||
},
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user