diff --git a/taskfile.yaml b/taskfile.yaml new file mode 100644 index 0000000..fddfe8b --- /dev/null +++ b/taskfile.yaml @@ -0,0 +1,17 @@ +version: "3" +set: [errexit, pipefail, nounset] +shopt: [globstar] +tasks: + venv:create: + cmds: + - python3 -m venv .venv + status: + - test -f .venv + venv:deps: + cmds: + - ./.venv/bin/python3 -m pip install -r requirements.txt + build: + cmds: + - ./.venv/bin/pelican -o ./output + serve: + - ./.venv/bin/invoke livereload