From c41f630b708db05b3be5047758132ba0a4b54702 Mon Sep 17 00:00:00 2001 From: xin053 <13207130066.cool@163.com> Date: Wed, 28 Jul 2021 11:38:21 +0800 Subject: [PATCH] update vscode tasks --- .gitignore | 5 ++--- .vscode/tasks.json | 12 +++++++++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index fb68367..6ba0a11 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,5 @@ *.out debug -cli -cli.exe -hsperfdata/debug.test \ No newline at end of file +hsperfdata/debug.test +hstat* diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 22adca3..1e560d2 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -9,9 +9,11 @@ "command": "go", "args": [ "build", + "-o", + "hstat_windows_amd64.exe", "-ldflags", "-w -s", - "${file}" + "cmd/hstat.go" ], "options": { "env": { @@ -31,9 +33,11 @@ "command": "go", "args": [ "build", + "-o", + "hstat_linux_amd64", "-ldflags", "-w -s", - "${file}" + "cmd/hstat.go" ], "options": { "env": { @@ -53,9 +57,11 @@ "command": "go", "args": [ "build", + "-o", + "hstat_darwin_amd64", "-ldflags", "-w -s", - "${file}" + "cmd/hstat.go" ], "options": { "env": {