refactor: replace make by go-task

This commit is contained in:
Yorick Barbanneau 2024-05-25 01:23:36 +02:00
parent e7abbd0891
commit 9696ec6889

17
taskfile.yaml Normal file
View file

@ -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