support re-register
This commit is contained in:
18
.vscode/launch.json
vendored
18
.vscode/launch.json
vendored
@ -5,14 +5,28 @@
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Launch Binary",
|
||||
"name": "Launch Binary (Windows)",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"mode": "exec",
|
||||
"program": "${workspaceFolder}/objs/srs-sip.exe",
|
||||
"cwd": "${workspaceFolder}/objs",
|
||||
"env": {},
|
||||
"args": [],
|
||||
"preLaunchTask": "build-windows",
|
||||
"windows": {}
|
||||
},
|
||||
{
|
||||
"name": "Launch Binary (Linux)",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"mode": "exec",
|
||||
"program": "${workspaceFolder}/objs/srs-sip",
|
||||
"cwd": "${workspaceFolder}/objs",
|
||||
"env": {},
|
||||
"args": []
|
||||
"args": [],
|
||||
"preLaunchTask": "build-linux",
|
||||
"linux": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
25
.vscode/tasks.json
vendored
Normal file
25
.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "build-windows",
|
||||
"type": "shell",
|
||||
"command": ".\\build.bat build",
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"reveal": "always"
|
||||
},
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "build-linux",
|
||||
"type": "shell",
|
||||
"command": "./build.sh build",
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"reveal": "always"
|
||||
},
|
||||
"problemMatcher": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user