This repository has been archived on 2026-02-22. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
docker/Makefile
Jef Roosens f92f73b0ff
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
chore: added Makefile & ci linting
2022-06-18 20:58:53 +02:00

31 lines
405 B
Makefile

# =====CONFIG=====
V_PATH ?= v
V := $(V_PATH) -showcc
all: vdocker
# =====COMPILATION=====
.PHONY: vdocker
vdocker:
$(V) -g -shared .
# =====DOCS=====
.PHONY: api-docs
api-docs:
rm -rf '_docs'
v doc -f html -m -readme .
# =====OTHER=====
.PHONY: lint
lint:
$(V) fmt -verify .
$(V) vet -W .
$(V_PATH) missdoc -p .
@ [ $$($(V_PATH) missdoc -p . | wc -l) = 0 ]
.PHONY: fmt
fmt:
$(V) fmt -w .