File tree Expand file tree Collapse file tree 1 file changed +20
-9
lines changed Expand file tree Collapse file tree 1 file changed +20
-9
lines changed Original file line number Diff line number Diff line change 11.PHONY : test
22
3- all :
4- stack -v build $(STACK_OPTS )
3+ all : build install
4+
5+ build : VERBOSITY_FLAG =
6+ build :
7+ stack $(VERBOSITY_FLAG ) build $(STACK_OPTS )
8+ build/verbose :
9+ $(MAKE ) $(MAKE_FLAGS ) build VERBOSITY_FLAG=" -v"
10+
11+ install : VERBOSITY_FLAG =
12+ install :
13+ $(MAKE ) $(MAKE_FLAGS ) build
514 mkdir -p ./../bin
6- stack -v install $(STACK_OPTS ) --local-bin-path ./../bin/
15+ stack $(VERBOSITY_FLAG ) install $(STACK_OPTS ) --local-bin-path ./../bin/
16+ install/verbose :
17+ $(MAKE ) $(MAKE_FLAGS ) install VERBOSITY_FLAG=" -v"
718
819clean :
920 rm * .cabal
1021 stack clean --full
1122 rm -rf ../bin
1223# If problems still persist after this, remove all GHC compilers in ~/.stack/programs/**/
1324
14- ghci-irtester :
15- stack ghci --main-is Troupe-compiler:exe:irtester --no-load
16-
17- ghci-troupec :
18- stack ghci --main-is Troupe-compiler:exe:troupec --no-load
19-
2025test :
2126 stack test $(STACK_OPTS )
2227
2328parser-info :
2429 stack exec happy -- -i src/Parser.y
30+
31+ ghci/irtester :
32+ stack ghci --main-is Troupe-compiler:exe:irtester --no-load
33+
34+ ghci/troupec :
35+ stack ghci --main-is Troupe-compiler:exe:troupec --no-load
You can’t perform that action at this time.
0 commit comments