Add test-lint Makefile rule (#777)

This commit is contained in:
M. Mert Yıldıran 2022-02-08 21:46:09 +03:00 committed by GitHub
parent a42a0cd0b9
commit 0865b6e3d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,6 +83,15 @@ clean-cli: ## Clean CLI.
clean-docker:
@(echo "DOCKER cleanup - NOT IMPLEMENTED YET " )
test-lint:
cd agent && golangci-lint run
cd shared && golangci-lint run
cd tap && golangci-lint run
cd cli && golangci-lint run
cd acceptanceTests && golangci-lint run
cd tap/api && golangci-lint run
cd tap/extensions/ && for D in */; do cd $$D && golangci-lint run && cd ..; done
test-cli:
@echo "running cli tests"; cd cli && $(MAKE) test