Skip to content

Commit

Permalink
update vscode tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
xin053 committed Jul 28, 2021
1 parent 7c7b235 commit c41f630
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@
*.out

debug
cli
cli.exe
hsperfdata/debug.test
hsperfdata/debug.test
hstat*
12 changes: 9 additions & 3 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
"command": "go",
"args": [
"build",
"-o",
"hstat_windows_amd64.exe",
"-ldflags",
"-w -s",
"${file}"
"cmd/hstat.go"
],
"options": {
"env": {
Expand All @@ -31,9 +33,11 @@
"command": "go",
"args": [
"build",
"-o",
"hstat_linux_amd64",
"-ldflags",
"-w -s",
"${file}"
"cmd/hstat.go"
],
"options": {
"env": {
Expand All @@ -53,9 +57,11 @@
"command": "go",
"args": [
"build",
"-o",
"hstat_darwin_amd64",
"-ldflags",
"-w -s",
"${file}"
"cmd/hstat.go"
],
"options": {
"env": {
Expand Down

0 comments on commit c41f630

Please sign in to comment.