refactor: replace make by go-task
This commit is contained in:
parent
e7abbd0891
commit
9696ec6889
1 changed files with 17 additions and 0 deletions
17
taskfile.yaml
Normal file
17
taskfile.yaml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue