@@ -31,9 +31,18 @@ source-repository head
3131 type: git
3232 location: git://github.com/elm-lang/elm-compiler.git
3333
34+
35+Flag dev {
36+ Description: Turn off optimization to make builds quicker
37+ Default: False
38+}
39+
40+
3441Library
35− ghc-options:
36− -O2 -W
42+ if flag(dev)
43+ ghc-options: -O0 -W
44+ else
45+ ghc-options: -O2
3746
3847 Hs-Source-Dirs:
3948 src
@@ -210,7 +219,6 @@ Test-Suite compiler-tests
210219 containers >= 0.3 && < 0.6,
211220 directory >= 1.0 && < 2.0,
212221 edit-distance >= 0.2 && < 0.3,
213− elm-compiler,
214222 filemanip >= 0.3.5 && < 0.4,
215223 filepath >= 1 && < 2.0,
216224 indents >= 0.3 && < 0.4,