Fixed lint command

main
Jef Roosens 2022-01-13 14:33:06 +01:00
parent 6b1e81a2fd
commit c8833f06ce
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
2 changed files with 6 additions and 2 deletions

View File

@ -2,4 +2,4 @@ pipeline:
lint:
image: 'chewingbever/vlang:latest'
commands:
- make fmt
- make lint

View File

@ -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