Skip to content

Commit

Permalink
Merge branch 'iter17' into iter18
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxloviwan committed Oct 25, 2024
2 parents c31848b + 54124be commit d46f1a6
Show file tree
Hide file tree
Showing 7 changed files with 828 additions and 828 deletions.
30 changes: 15 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
all: buildserver buildagent

buildserver:
GOOS=windows go build -o bin/server.exe cmd/server/main.go

buildagent:
GOOS=windows go build -o bin/agent.exe cmd/agent/main.go

test:
go test ./internal/api

cover:
go test ./internal/api -coverprofile cover && go tool cover -func cover && rm cover

mock:
all: buildserver buildagent

buildserver:
GOOS=windows go build -o bin/server.exe cmd/server/main.go

buildagent:
GOOS=windows go build -o bin/agent.exe cmd/agent/main.go

test:
go test ./internal/api

cover:
go test ./internal/api -coverprofile cover && go tool cover -func cover && rm cover

mock:
mockgen -destination ./internal/api/mock/mock_store.go github.com/xoxloviwan/go-monitor/internal/api ReaderWriter
Loading

0 comments on commit d46f1a6

Please sign in to comment.