From 053c5fbf32a8c301f92b981d03edfa53def1ee49 Mon Sep 17 00:00:00 2001 From: Lior Nabat Date: Mon, 17 Oct 2022 11:12:58 +0300 Subject: [PATCH] update task --- Taskfile.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Taskfile.yml b/Taskfile.yml index 69a9a0f..217e41e 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -13,6 +13,9 @@ tasks: lint: cmds: - golangci-lint run --disable gocritic --enable misspell --enable gosec + build: + cmds: + - go build -o {{.BINARY_NAME}}.exe -ldflags "-X main.version={{.VERSION}}" default: cmds: - go mod tidy