blob: 44cd956aea8d0fba42715d7be727ef12e51dd360 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
.PHONY: all
all:
cabal install
LCDIR=~/.cabal/share/x86_64-linux-ghc-7.10.3/lambdacube-compiler-0.5.0.0/lc
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 -i../dist/build/autogen runTests.hs
copylc:
cp lc/*.lc $(LCDIR)
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
|