File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 14
14
/examples /* .bin
15
15
/examples /* .exe
16
16
/old- * /
17
- /tests /* . [gn ].hs
18
- /tests /* . [gn ].bin
19
- /tests /* . [gn ].exe
17
+ /tests /* . [dgn ].hs
18
+ /tests /* . [dgn ].bin
19
+ /tests /* . [dgn ].exe
20
20
.cabal-sandbox
21
21
.stack-work
22
22
cabal.sandbox.config
Original file line number Diff line number Diff line change @@ -102,9 +102,12 @@ TEST_ALEX_OPTS=
102
102
% .g.hs : % .x
103
103
$(ALEX ) $(TEST_ALEX_OPTS ) -g $< -o $@
104
104
105
- CLEAN_FILES += *.n.hs *.g.hs *.info *.hi *.o *.bin *.exe
105
+ % .d.hs : % .x
106
+ $(ALEX ) $(TEST_ALEX_OPTS ) --debug $< -o $@
106
107
107
- ALL_TEST_HS = $(shell echo $(TESTS ) $(TEXT_TESTS ) | sed -e 's/\([^\. ]* \) \.\(l\)\{0,1\}x/\1.n.hs \1.g.hs/g')
108
+ CLEAN_FILES += *.n.hs *.g.hs *.d.hs *.info *.hi *.o *.bin *.exe
109
+
110
+ ALL_TEST_HS = $(shell echo $(TESTS ) $(TEXT_TESTS ) | sed -e 's/\([^\. ]* \) \.\(l\)\{0,1\}x/\1.n.hs \1.g.hs \1.d.hs/g')
108
111
109
112
ALL_TESTS = $(patsubst % .hs, % .run, $(ALL_TEST_HS ) )
110
113
@@ -128,4 +131,6 @@ interact:
128
131
# :set args --template=.. simple.x -o simple.n.hs
129
132
130
133
debug :
131
- @echo HC_OPTS=$(HC_OPTS )
134
+ @echo ALEX = $(ALEX )
135
+ @echo HC_OPTS = $(HC_OPTS )
136
+ @echo ALL_TESTS = $(ALL_TESTS )
You can’t perform that action at this time.
0 commit comments