From 8d481aab4ad548888d428ff347ecc04e91bc342b Mon Sep 17 00:00:00 2001 From: Amolith Date: Sun, 18 May 2025 11:17:11 -0600 Subject: [PATCH] chore: Update justfile to use go modules and build cmd --- justfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index 7f3f6e25ebe029802ab8bc844f503933eb3cc4c8..dc39f38a375a87c9a95592d20a1ead770d8ce8b3 100644 --- a/justfile +++ b/justfile @@ -11,7 +11,7 @@ default: fmt lint staticcheck test vuln reuse fmt: # Formatting all Go source code go install mvdan.cc/gofumpt@latest - gofumpt -l -w . + gofumpt -l -w ./... lint: # Linting Go source code @@ -37,11 +37,11 @@ reuse: build: # Building lunatask-mcp-server - CGO_ENABLED=0 GOOS={{GOOS}} GOARCH={{GOARCH}} go build -o lunatask-mcp-server -ldflags "-s -w -X main.version={{VERSION}}" . + CGO_ENABLED=0 GOOS={{GOOS}} GOARCH={{GOARCH}} go build -o lunatask-mcp-server -ldflags "-s -w -X main.version={{VERSION}}" ./cmd run: # Running lunatask-mcp-server - CGO_ENABLED=0 GOOS={{GOOS}} GOARCH={{GOARCH}} go run -ldflags "-s -w -X main.version={{VERSION}}" . + CGO_ENABLED=0 GOOS={{GOOS}} GOARCH={{GOARCH}} go run -ldflags "-s -w -X main.version={{VERSION}}" ./cmd pack: # Packing lunatask-mcp-server