You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+5-44Lines changed: 5 additions & 44 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
.PHONY: build lint test test-unit test-integration test-all test-serena test-serena-gateway coverage test-ci format clean install release help agent-finished echo-guard-demo echo-guard-build echo-guard-test echo-guard-codex echo-guard-tmux
1
+
.PHONY: build lint test test-unit test-integration test-all test-serena test-serena-gateway coverage test-ci format clean install release help agent-finished
2
2
3
3
# Default target
4
4
.DEFAULT_GOAL := help
@@ -21,15 +21,15 @@ build:
21
21
lint:
22
22
@echo "Running linters..."
23
23
@go mod tidy
24
-
@go vet $$(go list ./... | grep -v '/examples/guards/')
24
+
@go vet ./...
25
25
@echo "Running gofmt check..."
26
-
@test -z "$$(gofmt -l $$(find . -name '*.go' -not -path './examples/guards/*'))"|| (echo "The following files are not formatted:"; gofmt -l $$(find . -name '*.go' -not -path './examples/guards/*');exit 1)
26
+
@test -z "$$(gofmt -l .)"|| (echo "The following files are not formatted:"; gofmt -l .;exit 1)
27
27
@echo "Running golangci-lint..."
28
28
@GOPATH=$$(go env GOPATH);\
29
29
if [ -f"$$GOPATH/bin/golangci-lint" ];then \
30
-
$$GOPATH/bin/golangci-lint run --timeout=5m --skip-dirs examples/guards ||echo"⚠ Warning: golangci-lint failed (compatibility issue with Go 1.25.0). Continuing with other checks...";\
30
+
$$GOPATH/bin/golangci-lint run --timeout=5m ||echo"⚠ Warning: golangci-lint failed (compatibility issue with Go 1.25.0). Continuing with other checks...";\
golangci-lint run --timeout=5m --skip-dirs examples/guards ||echo"⚠ Warning: golangci-lint failed (compatibility issue with Go 1.25.0). Continuing with other checks...";\
32
+
golangci-lint run --timeout=5m ||echo"⚠ Warning: golangci-lint failed (compatibility issue with Go 1.25.0). Continuing with other checks...";\
33
33
else\
34
34
echo"⚠ Warning: golangci-lint not found. Run 'make install' to install it.";\
35
35
echo" Skipping golangci-lint checks...";\
@@ -261,43 +261,4 @@ help:
261
261
@echo " install - Install required toolchains and dependencies"
262
262
@echo " release - Create and push a release tag (usage: make release patch|minor|major)"
263
263
@echo " agent-finished - Run format, build, lint, and all tests (for agents before completion)"
264
-
@echo " echo-guard-demo - Run quick echo guard test demo (shows guard I/O)"
265
-
@echo " echo-guard-codex - Start gateway with echo guard for Codex integration"
0 commit comments