From c8833f06ce8a72c9631de30956b080d44ea81c5f Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Thu, 13 Jan 2022 14:33:06 +0100 Subject: [PATCH] Fixed lint command --- .woodpecker/.lint.yml | 2 +- Makefile | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) 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