www.byjp.me/Taskfile.yml
JP Hastings-Spital 233e7c35af
Links have agree/accurate indicators (#7)
- Remove i18n & include drafts in dev build
- Links have agree/accurate indicators
- Also introduces `references` as a standard Params structure for my blog. I don't particularly like that it's a map rather than an array, but this is what my micropib enpoint currently creates, so I'll stick with this until I can be bothered to switch that over.
2024-02-22 08:25:18 +00:00

22 lines
467 B
YAML

# 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 -D
build:
cmds:
- hugo --cacheDir /tmp/hugo/cache --minify --baseURL "https://www.byjp.me"
- npm_config_yes=true npx pagefind@latest
import:
cmds:
- cd ./tools/import/omnivore && go run .