summaryrefslogtreecommitdiff
path: root/Makefile
blob: 150bf91893ea06d43d1382310841ff640d832f8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
result:
	nix-build -A build

install: result
	nix-env -i "$$(readlink result)"

clean:
	rm -f result
	rm -rf _site

serve:
	nix-shell -A serve

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'