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

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

clean:
	rm result

serve:
	nix-shell -A serve

update:
	nix-shell -p bundler --run 'bundler update'

lock:
	nix-shell -p bundler -p bundix --run 'bundler lock; bundler package --no-install --path vendor; bundix; rm -rf .bundle vendor'