diff --git a/.woodpecker/.lint.yml b/.woodpecker/.lint.yml index 72529e7..c72c13a 100644 --- a/.woodpecker/.lint.yml +++ b/.woodpecker/.lint.yml @@ -2,4 +2,4 @@ pipeline: lint: image: 'chewingbever/vlang:latest' commands: - - make fmt + - make lint diff --git a/Makefile b/Makefile index 15c52cd..38593be 100644 --- a/Makefile +++ b/Makefile @@ -51,10 +51,14 @@ watch: # =====OTHER===== +.PHONY: lint +lint: + $(V) fmt -verify $(SRC_DIR) + # Format the V codebase .PHONY: fmt fmt: - v fmt -w $(SRC_DIR) + $(V) fmt -w $(SRC_DIR) # Pulls & builds my personal build of the v compiler, required for this project to function .PHONY: customv