summaryrefslogtreecommitdiff
path: root/Makefile
blob: ae13463938b817f1c9061451883fc2816dbaaee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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'