Verified Commit 143f9232 authored by David Runge's avatar David Runge
Browse files

Add gitlab-ci integration and Makefile

Makefile:
Add Makefile, introducing a simple `make lint` target which runs
rstcheck against all .rst files.

.gitlab-ci.yml:
Add GitLab CI integration, with a simple lint target, that calls `make
lint` in an environment with the required dependencies.
parent 6b99ac8d
---
default:
image: "archlinux:latest"
stages:
- lint
rstcheck:
stage: lint
before_script:
- pacman --noconfirm -Syu --needed make rstcheck
script:
- make lint
DOC_FILES=$(wildcard rfcs/*.rst) $(wildcard *.rst)
all:
check: lint
lint:
rstcheck --report warning $(DOC_FILES)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment