* Add tools requirements for Corso docs * Add README.md to Vale checks and ensure a clean run * Swap from Discord to GH discussions
25 lines
549 B
Makefile
25 lines
549 B
Makefile
.PHONY: buildimage build dev shell check
|
|
|
|
buildimage:
|
|
docker build -t "alcion/docs:latest" .
|
|
|
|
dev:
|
|
docker run --rm -it \
|
|
-p 3000:3000 \
|
|
-v ${PWD}:/usr/src/docs alcion/docs
|
|
|
|
check:
|
|
docker run --rm \
|
|
-v ${PWD}:/usr/src/docs alcion/docs vale docs README.md
|
|
docker run --rm \
|
|
-v ${PWD}:/usr/src/docs alcion/docs markdownlint '**/*.md' --ignore styles/ --ignore src/
|
|
|
|
shell:
|
|
docker run --rm -it \
|
|
-p 3000:3000 \
|
|
-v ${PWD}:/usr/src/docs alcion/docs /bin/bash
|
|
|
|
build:
|
|
docker run --rm \
|
|
-v ${PWD}:/usr/src/docs alcion/docs npm run build
|