Implement Phase 1 of KAT #1
8
Makefile
8
Makefile
@ -10,12 +10,13 @@ generate:
|
|||||||
@echo "Generating Go code from Protobuf definitions..."
|
@echo "Generating Go code from Protobuf definitions..."
|
||||||
@./scripts/gen-proto.sh
|
@./scripts/gen-proto.sh
|
||||||
|
|
||||||
# Placeholder for future commands
|
|
||||||
clean:
|
clean:
|
||||||
@echo "Cleaning up generated files and build artifacts..."
|
@echo "Cleaning up generated files and build artifacts..."
|
||||||
@rm -f ./api/v1alpha1/*.pb.go
|
@rm -f ./api/v1alpha1/*.pb.go
|
||||||
@rm -f kat-agent katcall
|
@rm -f kat-agent katcall
|
||||||
|
|
||||||
|
|
||||||
test: generate
|
test: generate
|
||||||
@echo "Running tests..."
|
@echo "Running tests..."
|
||||||
@go test -count=1 ./...
|
@go test -count=1 ./...
|
||||||
@ -25,6 +26,11 @@ kat-agent:
|
|||||||
@echo "Building kat-agent..."
|
@echo "Building kat-agent..."
|
||||||
@go build -o kat-agent ./cmd/kat-agent/main.go
|
@go build -o kat-agent ./cmd/kat-agent/main.go
|
||||||
|
|
||||||
|
|
||||||
|
build: generate kat-agent
|
||||||
|
@echo "Building all binaries..."
|
||||||
|
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
@echo "Running linter..."
|
@echo "Running linter..."
|
||||||
@if ! command -v golangci-lint &> /dev/null; then \
|
@if ! command -v golangci-lint &> /dev/null; then \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user