/
fs-sim.cabal
94 lines (84 loc) · 2.26 KB
/
fs-sim.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
cabal-version: 3.0
name: fs-sim
version: 0.1.0.2
synopsis: Simulated file systems
description: Simulated file systems.
license: Apache-2.0
license-files:
LICENSE
NOTICE
copyright: 2019-2023 Input Output Global Inc (IOG)
author: IOHK Engineering Team
maintainer: operations@iohk.io
category: Testing
build-type: Simple
extra-doc-files: CHANGELOG.md
tested-with: GHC ==8.10 || ==9.2 || ==9.4 || ==9.6
source-repository head
type: git
location: https://github.com/input-output-hk/fs-sim
subdir: fs-sim
flag asserts
description: Enable assertions
manual: False
default: False
library
hs-source-dirs: src
exposed-modules:
System.FS.Sim.Error
System.FS.Sim.FsTree
System.FS.Sim.MockFS
System.FS.Sim.Pure
System.FS.Sim.STM
System.FS.Sim.Stream
default-language: Haskell2010
build-depends:
, base >=4.14 && <4.19
, base16-bytestring
, bytestring >=0.10 && <0.12
, containers >=0.5 && <0.7
, fs-api ^>=0.1
, io-classes >=0.3 && <1.2
, mtl
, QuickCheck
, strict-stm >=0.3 && <1.2
, text >=1.2 && <2.1
ghc-options:
-Wall -Wcompat -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wpartial-fields -Widentities
-Wredundant-constraints -Wmissing-export-lists -Wunused-packages
if flag(asserts)
ghc-options: -fno-ignore-asserts
cpp-options: -DENABLE_ASSERTIONS
test-suite fs-sim-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules:
Test.System.FS.Sim.FsTree
Test.System.FS.StateMachine
Test.Util.RefEnv
default-language: Haskell2010
build-depends:
, base
, bifunctors
, bytestring
, containers
, fs-api
, fs-sim
, generics-sop
, pretty-show
, QuickCheck
, quickcheck-state-machine >=0.7.2
, random
, tasty
, tasty-hunit
, tasty-quickcheck
, temporary
, text
, tree-diff
ghc-options:
-Wall -Wcompat -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wpartial-fields -Widentities
-Wredundant-constraints -Wmissing-export-lists -Wunused-packages
-fno-ignore-asserts