-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplt-test-lab4.cabal
55 lines (45 loc) · 1.72 KB
/
plt-test-lab4.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
cabal-version: 2.4
-- Programming Language Technology (Chalmers DAT151 / GU DIT231)
-- (C) 2022-24 Andreas Abel
-- All rights reserved.
name: plt-test-lab4
version: 0.0
author: Andreas Abel and the PLT team.
copyright: (C) 2022-24 Andreas Abel
license: NONE
-- All rights reserved.
synopsis:
Test suite for PLT lab4
description:
Test suite for Programming Language Technology lab4 (Chalmers DAT151 / GU DIT231).
tested-with:
GHC ==9.10.1 || ==9.8.2 || ==9.6.6 || ==9.4.8 || ==9.2.8 || ==9.0.2
|| ==8.10.7 || ==8.8.4 || ==8.6.5
extra-source-files:
bad/*.hs
good/*.hs
good/*.golden
executable plt-test-lab4
main-is: plt-test-lab4.hs
hs-source-dirs: .
default-language: Haskell2010
ghc-options:
-Wall
-Wcompat
build-depends:
-- Lower bounds set to versions shipped with GHC 8.6.5
, base >= 4.12.0.0 && < 5
, directory >= 1.3.3.0 && < 1.4
, filepath >= 1.4.2.1 && < 1.6
, process >= 1.6.5.0 && < 1.7
-- These following tools are not needed to _build_ the testsuite runner,
-- but to _run_ it, namely to build the parser from the given LBNF file.
-- Putting them here means they need not be separately installed
-- when invoking the runner with `cabal run` or `stack run`.
build-tool-depends:
-- BNFC 2.8.4 dropped the 'Err' custom type in favor of the standard 'Either'.
BNFC:bnfc >= 2.8.4 && < 2.10
-- Not sure about the lower bounds, so we pick alex and happy versions
-- that come in the last Stackage LTS (14.27) for GHC 8.6.5.
, alex:alex >= 3.2.5 && < 3.6
, happy:happy >= 1.19.12 && < 2.2