diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2022-09-25 23:37:49 +0300 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2022-12-05 14:21:53 +0200 |
| commit | 82b9e3f4bf70e911916cf000655cdae2492060df (patch) | |
| tree | ed41dfb8bfb05a1e642995974a58846f5f39cac2 /lang.cabal | |
| parent | a5ce95f40188c4525bc98307d09015a5dca93bb3 (diff) | |
Add a test to suite
Diffstat (limited to 'lang.cabal')
| -rw-r--r-- | lang.cabal | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -37,7 +37,8 @@ library src ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints build-depends: - base >=4.7 && <5 + HUnit ==1.6.2.0 + , base >=4.7 && <5 , containers , haskeline ==0.8.2 , mtl @@ -52,7 +53,8 @@ executable lang-exe app ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N build-depends: - base >=4.7 && <5 + HUnit ==1.6.2.0 + , base >=4.7 && <5 , containers , haskeline ==0.8.2 , lang @@ -64,12 +66,14 @@ test-suite lang-test type: exitcode-stdio-1.0 main-is: Spec.hs other-modules: + TestUtils Paths_lang hs-source-dirs: test ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N build-depends: - base >=4.7 && <5 + HUnit ==1.6.2.0 + , base >=4.7 && <5 , containers , haskeline ==0.8.2 , lang |
