Add makefile

This commit is contained in:
Luke Murphy 2021-02-23 14:47:00 +01:00
parent e89ea879da
commit 8373c81b83
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 9 additions and 0 deletions

9
makefile Normal file
View File

@ -0,0 +1,9 @@
default: run
dependencies:
@if [ ! -d ".venv" ]; then python3 -m venv .venv && .venv/bin/pip install -r requirements.txt; fi
run: dependencies
@.venv/bin/mkdocs serve
.PHONY: dependencies run