mediocre-blog/Makefile

19 lines
343 B
Makefile
Raw Normal View History

result:
nix-build -A build
install: result
nix-env -i "$$(readlink result)"
clean:
2021-01-30 23:01:53 +00:00
rm -f result
rm -rf _site
serve:
2021-01-22 00:22:53 +00:00
nix-shell -A serve
2020-11-20 05:23:33 +00:00
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'