Add vscode tasks for running most important scripts
This commit is contained in:
parent
7cb0c022d2
commit
4aaf1525ae
4 changed files with 38 additions and 0 deletions
25
.vscode/tasks.json
vendored
Normal file
25
.vscode/tasks.json
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Flash hwb1",
|
||||
"type": "shell",
|
||||
"command": "${workspaceFolder}/hwb1/scripts/flash.cmd",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "List Applets",
|
||||
"type": "shell",
|
||||
"command": "${workspaceFolder}/hwb1/scripts/list.cmd",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Test hwb1 Applet",
|
||||
"type": "shell",
|
||||
"command": "${workspaceFolder}/hwb1/scripts/test.cmd",
|
||||
"problemMatcher": []
|
||||
}
|
||||
]
|
||||
}
|
5
hwb1/scripts/flash.cmd
Normal file
5
hwb1/scripts/flash.cmd
Normal file
|
@ -0,0 +1,5 @@
|
|||
@echo off
|
||||
SET CARD_ROOT=%~dp0..\card
|
||||
call %CARD_ROOT%\e222.cmd
|
||||
call %CARD_ROOT%\c222.cmd
|
||||
call %CARD_ROOT%\install.cmd
|
4
hwb1/scripts/list.cmd
Normal file
4
hwb1/scripts/list.cmd
Normal file
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
SET CARD_ROOT=%~dp0..\card
|
||||
call %CARD_ROOT%\e222.cmd
|
||||
call %CARD_ROOT%\list.cmd
|
4
hwb1/scripts/test.cmd
Normal file
4
hwb1/scripts/test.cmd
Normal file
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
SET CARD_ROOT=%~dp0..\card
|
||||
call %CARD_ROOT%\e222.cmd
|
||||
call %CARD_ROOT%\test.cmd
|
Loading…
Reference in a new issue