add make target for agent
This commit is contained in:
		
							
								
								
									
										5
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
									
									
									
									
								
							@@ -20,6 +20,11 @@ test: generate
 | 
				
			|||||||
	@echo "Running tests..."
 | 
						@echo "Running tests..."
 | 
				
			||||||
	@go test -count=1 ./...
 | 
						@go test -count=1 ./...
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					kat-agent:
 | 
				
			||||||
 | 
						@echo "Building kat-agent..."
 | 
				
			||||||
 | 
						@go build -o kat-agent ./cmd/kat-agent/main.go
 | 
				
			||||||
 | 
					
 | 
				
			||||||
lint:
 | 
					lint:
 | 
				
			||||||
	@echo "Running linter..."
 | 
						@echo "Running linter..."
 | 
				
			||||||
	@if ! command -v golangci-lint &> /dev/null; then \
 | 
						@if ! command -v golangci-lint &> /dev/null; then \
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user