Adding a taskfile

This commit is contained in:
JP Hastings-Spital 2024-01-18 23:37:44 +00:00
parent 8d271d0bc8
commit 3fbb1ead2f

19
Taskfile.yml Normal file
View file

@ -0,0 +1,19 @@
# https://taskfile.dev
version: '3'
# TODO: Handle commands in dotenv
# dotenv: ['.env']
tasks:
check-links:
cmds:
- rm -rf ./public/
- lychee --cache --suggest --require-https .
dev:
cmds:
- hugo server --minify
build:
cmds:
- hugo --cacheDir /tmp/hugo/cache --minify --baseURL "https://www.byjp.me"
- npm_config_yes=true npx pagefind@latest