on master help sign in
Begin adding testing framework to .cabal file.
commite7b949df9b7cf4a27cb2fc21df3ea0f81c96ed59 authorEvan Czaplicki <evan@Evans-MacBook-Air.local> dateSun 14 Jul 2013, 19:51 (13 years ago) parent003ebfd
2 files changed+15−2
Elm.cabal+8−2 tests/Everything.hs+7
Elm.cabal+8−2
@@ -23,7 +23,7 @@ Build-type: Custom
2323Extra-source-files: changelog.txt
2424Data-dir: dist/data
2525Data-files: elm-runtime.js docs.json
26−Cabal-version: >=1.8
26+Cabal-version: >=1.9
2727
2828source-repository head
2929 type: git
@@ -184,4 +184,10 @@ Executable elm-doc
184184 pretty,
185185 cmdargs,
186186 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