diff --git a/.woodpecker/.lint.yml b/.woodpecker/.lint.yml index 380b3d4..1ccd077 100644 --- a/.woodpecker/.lint.yml +++ b/.woodpecker/.lint.yml @@ -6,5 +6,12 @@ platform: linux/amd64 pipeline: lint: image: 'chewingbever/vlang:latest' + group: lint commands: - make lint + + vet: + image: 'chewingbever/vlang:latest' + group: lint + commands: + - make vet diff --git a/Makefile b/Makefile index bf77b62..103aca6 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,10 @@ lint: fmt: $(V) fmt -w $(SRC_DIR) +.PHONY: vet +vet: + $(V) vet -W $(SRC_DIR) + # Pulls & builds my personal build of the v compiler, required for this project to function .PHONY: customv customv: