diff --git a/.woodpecker.yml b/.woodpecker.yml index eba96f6..51d2bb6 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,11 +1,16 @@ pipeline: - lint: - image: 'thevlang/vlang:latest' + install-v: + image: 'alpine:latest' commands: - - v fmt -verify vieter + - make customv + + lint: + image: 'alpine:latest' + commands: + - jjr-v/v lint build: - image: 'thevlang/vlang:latest' + image: 'alpine:latest' commands: - - v vieter + - jjr-v/v vieter diff --git a/Makefile b/Makefile index ff0cc96..7e398fe 100644 --- a/Makefile +++ b/Makefile @@ -9,3 +9,13 @@ watch: .PHONY: fmt fmt: v fmt -w vieter + +# Pulls & builds my personal build of the v compiler, required for this project to function +.PHONY: customv +customv: + rm -rf v-jjr + git clone \ + -b vweb-streaming \ + --single-branch \ + https://github.com/ChewingBever/v jjr-v + make -C jjr-v