Personal website and some scripts to handle it.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
346 B

# make tasks not depend on existing output files
target = "distribution"
build: clean
cd src/11ty && npm run build
deploy: build
find $(target)/ -mindepth 1 | xargs -I % rm -Rf %
commit: build
# commit the build
git add .
git commit -m "Automated build" \
--author="build script <>"