Skip to content

Commit

Permalink
improved tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbraun89 authored Sep 30, 2023
1 parent d250c80 commit 8c71f6d
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,19 @@
"env": {
"PYTHONPATH": "${workspaceFolder}${pathSeparator}${env:PYTHONPATH}"
},
"cwd": "${workspaceFolder}"
"cwd": "${input:workingDirectory}"
},
"problemMatcher": []
},
{
"label": "generate features",
"type": "shell",
"command": "python3 ./dev/generate_all_feature_definitions.py ${input:featureDefinitionsLocation} ${input:featuresLocation} ${input:nanolayerVersion} --depends-on ${input:dependsOn}",
"options": {
"env": {
"PYTHONPATH": "${workspaceFolder}${pathSeparator}${env:PYTHONPATH}"
},
"cwd": "${input:workingDirectory}"
},
"problemMatcher": []
}
Expand All @@ -36,12 +48,31 @@
"type": "promptString",
"default": "./feature_definitions"
},
{
"id": "featuresLocation",
"description": "featureDefinitionsLocation",
"type": "promptString",
"default": "../features"
},

{
"id": "dependsOn",
"description": "dependsOn",
"type": "promptString",
"default": ""
},
{
"id": "nanolayerVersion",
"description": "nanolayerVersion",
"type": "promptString",
"default": "v0.5.4"
},

{
"id": "workingDirectory",
"description": "workingDirectory",
"type": "promptString",
"default": "${workspaceFolder}"
}

]
Expand Down

0 comments on commit 8c71f6d

Please sign in to comment.