corso/docs/Makefile
Niraj Tolia 930d9bd132
Internal docs (#58)
* Move CLI abstract
* Add docs index for Corso dev resources
* Tweak CLI proposal title
2022-05-19 16:27:01 -07:00

25 lines
586 B
Makefile

.PHONY: buildimage build dev shell
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 --glob='!**/development/*' docs
docker run --rm \
-v ${PWD}:/usr/src/docs alcion/docs markdownlint '**/*.md' --ignore styles/ --ignore src/ --ignore docs/development
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