aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 1411d730d97b4ceaf33dd4689c12d71c52691394 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
.PHONY: _default
_default: ghci

.PHONY: ghci
ghci: shell.nix
	nix-shell --command 'exec ghci -Wall -fobject-code'

.PHONY: result
result: shell.nix
	nix-build ./shell.nix

shell.nix: $(wildcard *.cabal)
	cabal2nix --shell . > $@