summaryrefslogtreecommitdiff
path: root/Makefile
blob: 2ccb05a22c5b171525d041acb71153d2b52f48b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.PHONY: all
all:
	cabal install --constraint="indentation -trifecta"

repl:
	cd test && ghci -Wall -fno-warn-name-shadowing -fno-warn-unused-matches -fno-warn-missing-signatures -fno-warn-incomplete-patterns -fno-warn-overlapping-patterns -fno-warn-type-defaults -i../src runTests.hs

coverage:
	./run-test-suite.sh --coverage

profile:
	./run-test-suite.sh --profile

docker-profile:
	docker run --rm -it -v `pwd`:/root/source/lambdacube-compiler lambdacube3d/lambdacube3d /bin/sh -c "/root/source/lambdacube-compiler/travis/profile.sh"

hlint:
	hlint -h tool/HLint.hs src test tool