forked from vieter-v/vieter
Fixed lint command
parent
6b1e81a2fd
commit
c8833f06ce
|
@ -2,4 +2,4 @@ pipeline:
|
||||||
lint:
|
lint:
|
||||||
image: 'chewingbever/vlang:latest'
|
image: 'chewingbever/vlang:latest'
|
||||||
commands:
|
commands:
|
||||||
- make fmt
|
- make lint
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -51,10 +51,14 @@ watch:
|
||||||
|
|
||||||
|
|
||||||
# =====OTHER=====
|
# =====OTHER=====
|
||||||
|
.PHONY: lint
|
||||||
|
lint:
|
||||||
|
$(V) fmt -verify $(SRC_DIR)
|
||||||
|
|
||||||
# Format the V codebase
|
# Format the V codebase
|
||||||
.PHONY: fmt
|
.PHONY: fmt
|
||||||
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
|
# Pulls & builds my personal build of the v compiler, required for this project to function
|
||||||
.PHONY: customv
|
.PHONY: customv
|
||||||
|
|
Loading…
Reference in New Issue