on master help sign in
Begin adding testing framework to .cabal file.
e7b949dEvan Czaplicki
Elm.cabal+8−2
@@ -23,7 +23,7 @@ Build-type: Custom
23Extra-source-files: changelog.txt
23Extra-source-files: changelog.txt
24Data-dir: dist/data
24Data-dir: dist/data
25Data-files: elm-runtime.js docs.json
25Data-files: elm-runtime.js docs.json
26−Cabal-version: >=1.8
26+Cabal-version: >=1.9
27
27
28source-repository head
28source-repository head
29 type: git
29 type: git
@@ -184,4 +184,10 @@ Executable elm-doc
184 pretty,
184 pretty,
185 cmdargs,
185 cmdargs,
186 filepath,
186 filepath,
187− indents
187+ indents
188+
189+Test-Suite test-elm
190+ Type: exitcode-stdio-1.0
191+ Hs-Source-Dirs: tests
192+ Main-is: Everything.hs
193+ build-depends: base
tests/Everything.hsnew file+7
@@ -0,0 +1,7 @@
1+module Everything where
2+
3+import System.Exit
4+
5+main = do
6+ putStrLn "This test always fails"
7+ exitFailure