mirror of https://github.com/rocboss/paopao-ce
parent
66a3b9cda6
commit
525df82a50
@ -0,0 +1,3 @@
|
|||||||
|
.DS_Store
|
||||||
|
*.log
|
||||||
|
__debug_bin
|
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
// Use IntelliSense to learn about possible attributes.
|
||||||
|
// Hover to view descriptions of existing attributes.
|
||||||
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "paopao-ce [debug]",
|
||||||
|
"type": "go",
|
||||||
|
"request": "launch",
|
||||||
|
"mode": "exec",
|
||||||
|
"program": "${fileDirname}/__debug_bin",
|
||||||
|
"preLaunchTask": "go: build (debug)",
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
let launch = require('./launch.json');
|
||||||
|
launch.configurations.sort((a, b) => a.name.localeCompare(b.name));
|
||||||
|
let fs = require('fs');
|
||||||
|
fs.writeFileSync('launch.json', JSON.stringify(launch, null, 4));
|
@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "go: build (debug)",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "go",
|
||||||
|
"args": [
|
||||||
|
"build",
|
||||||
|
"-gcflags=all=-N -l",
|
||||||
|
"-tags",
|
||||||
|
"'embed go_json'",
|
||||||
|
"-o",
|
||||||
|
"${workspaceFolder}/.vscode/__debug_bin"
|
||||||
|
],
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in new issue