Created
July 23, 2018 05:43
-
-
Save LeifW/380ad4da9873ec455723de8a96adc0e9 to your computer and use it in GitHub Desktop.
running a cabal test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main(main, a) where | |
a = "foo" | |
main = putStrLn a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module MainSpec where | |
import Main (a) | |
main :: IO () | |
main = putStrLn a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Thing | |
version: 0.1.0.0 | |
license: BSD3 | |
license-file: LICENSE | |
author: Leif Warner | |
maintainer: [email protected] | |
build-type: Simple | |
extra-source-files: ChangeLog.md | |
cabal-version: >=1.10 | |
executable Thing | |
main-is: Main.hs | |
build-depends: base >=4.11 && <4.12 | |
default-language: Haskell2010 | |
test-suite spec | |
type: exitcode-stdio-1.0 | |
main-is: MainSpec.hs | |
build-depends: base >=4.11 && <4.12 | |
default-language: Haskell2010 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment