Merge pull request 'Added v vet to CI' (#29) from vvet into dev

Reviewed-on: Chewing_Bever/vieter#29
main
Jef Roosens 2022-01-14 21:03:55 +01:00
commit 1bd3ed3523
2 changed files with 11 additions and 0 deletions

View File

@ -6,5 +6,12 @@ platform: linux/amd64
pipeline: pipeline:
lint: lint:
image: 'chewingbever/vlang:latest' image: 'chewingbever/vlang:latest'
group: lint
commands: commands:
- make lint - make lint
vet:
image: 'chewingbever/vlang:latest'
group: lint
commands:
- make vet

View File

@ -60,6 +60,10 @@ lint:
fmt: fmt:
$(V) fmt -w $(SRC_DIR) $(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 # Pulls & builds my personal build of the v compiler, required for this project to function
.PHONY: customv .PHONY: customv
customv: customv: