add: template

This commit is contained in:
2024-03-11 19:50:21 +08:00
parent f1d1029c95
commit cde033324a
3 changed files with 256 additions and 1 deletions

21
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,21 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "shell",
"command": "go",
"args": [
"build",
"-ldflags='-s -w'",
"-o",
"${workspaceFolder}/dist/sub2sing-box.exe",
"${workspaceFolder}/main.go"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}