mediocre-blog/Makefile
Brian Picciano 8248024277 wedding
2021-02-26 13:56:52 -07:00

22 lines
371 B
Makefile

result:
nix-build -A build
install: result
nix-env -i "$$(readlink result)"
clean:
rm -f result
rm -rf _site
serve:
nix-shell -A serve
shell:
nix-shell -A shell
lock:
nix-shell -p bundler -p bundix --run 'bundler lock; bundix; rm -rf .bundle vendor'
update:
nix-shell -p bundler -p bundix --run 'bundler update; bundler lock; bundix; rm -rf .bundle vendor'