www/.justfile
Jacob Heider bf21f8beeb move to just as task runner
better job names; see why just is failing


read the fine manual


propagate tea magic
2023-01-18 17:20:13 -05:00

26 lines
516 B
Makefile

# list available jobs
default:
just --list
# runs `hugo serve` locally
serve:
hugo serve --watch --buildDrafts --source src
# makes the package pages
package-pages:
.github/build-package-pages.sh src/data/packages.json src/content
# builds the site for ci
ci:
-test -d node_modules && rm -rf node_modules
npm ci
hugo --source src --destination ../public --minify
# builds the site
build:
npm i
hugo --source src --destination ../public --minify
# cleans up build artifacts
clean:
rm -rf public