From 9696ec6889d31aa1f9754d0cebed56d0c755e62d Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sat, 25 May 2024 01:23:36 +0200 Subject: [PATCH] refactor: replace make by go-task --- taskfile.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 taskfile.yaml 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