Create a workspace for all tutorials

This commit is contained in:
Manuel Thalmann 2023-11-07 13:54:16 +01:00
parent 452e2d4716
commit d87c915d6e
2 changed files with 83 additions and 68 deletions

68
.vscode/tasks.json vendored
View file

@ -1,68 +0,0 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "List Applets",
"type": "shell",
"command": "${workspaceFolder}/scripts/list.cmd",
"problemMatcher": []
},
{
"label": "Flash MyApplet",
"type": "shell",
"command": "${workspaceFolder}/scripts/flash.cmd",
"options": {
"env": {
"PACKAGE": "hwb1",
"APPLET": "MyApplet",
"PARAMS": "31323334"
}
},
"problemMatcher": []
},
{
"label": "Flash SecretApplet",
"type": "shell",
"command": "${workspaceFolder}/scripts/flash.cmd",
"options": {
"env": {
"PACKAGE": "hwb1",
"APPLET": "SecretApplet"
}
},
"problemMatcher": []
},
{
"label": "Test MyApplet",
"type": "shell",
"command": "${workspaceFolder}/scripts/test.cmd",
"options": {
"env": {
"PACKAGE": "hwb1",
"APPLET": "MyApplet"
}
},
"problemMatcher": []
},
{
"label": "Test SecretApplet",
"type": "shell",
"command": "${workspaceFolder}/scripts/test.cmd",
"options": {
"env": {
"PACKAGE": "hwb1",
"APPLET": "SecretApplet"
}
},
"problemMatcher": []
},
{
"label": "Delete Applet",
"type": "shell",
"command": "${workspaceFolder}/scripts/delete.cmd",
"problemMatcher": []
}
]
}

View file

@ -0,0 +1,83 @@
{
"folders": [
{
"name": "Solution Items",
"path": "."
},
{
"path": "./hwb1"
},
{
"name": "AES",
"path": "./aes"
}
],
"tasks": {
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "List Applets",
"type": "shell",
"command": "${workspaceFolder:Solution Items}/scripts/list.cmd",
"problemMatcher": []
},
{
"label": "Flash MyApplet",
"type": "shell",
"command": "${workspaceFolder:Solution Items}/scripts/flash.cmd",
"options": {
"env": {
"PACKAGE": "hwb1",
"APPLET": "MyApplet",
"PARAMS": "31323334"
}
},
"problemMatcher": []
},
{
"label": "Flash SecretApplet",
"type": "shell",
"command": "${workspaceFolder:Solution Items}/scripts/flash.cmd",
"options": {
"env": {
"PACKAGE": "hwb1",
"APPLET": "SecretApplet"
}
},
"problemMatcher": []
},
{
"label": "Test MyApplet",
"type": "shell",
"command": "${workspaceFolder:Solution Items}/scripts/test.cmd",
"options": {
"env": {
"PACKAGE": "hwb1",
"APPLET": "MyApplet"
}
},
"problemMatcher": []
},
{
"label": "Test SecretApplet",
"type": "shell",
"command": "${workspaceFolder:Solution Items}/scripts/test.cmd",
"options": {
"env": {
"PACKAGE": "hwb1",
"APPLET": "SecretApplet"
}
},
"problemMatcher": []
},
{
"label": "Delete Applet",
"type": "shell",
"command": "${workspaceFolder:Solution Items}/scripts/delete.cmd",
"problemMatcher": []
}
]
}
}