From fbba16c6f535dd82117650beea875d619290480c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E5=8F=AF?= Date: Mon, 17 Jun 2024 14:05:24 +0800 Subject: [PATCH] fix: bin path --- Taskfile.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 03c0891..82bfb6c 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -41,7 +41,7 @@ tasks: generate:struct2interface: cmds: - - go run ./cmd/kod struct2interface . + - PATH=$PATH:$GOBIN go run ./cmd/kod struct2interface . deps: - install:mockgen @@ -53,7 +53,7 @@ tasks: lint:golangci-lint: cmd: | - golangci-lint run ./... + $GOBIN/golangci-lint run ./... deps: - install:golangci-lint