chore: Update justfile to use go modules and build cmd

Amolith created

Change summary

justfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Detailed changes

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