-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathopenleetcode.cabal
More file actions
108 lines (102 loc) · 2.67 KB
/
Copy pathopenleetcode.cabal
File metadata and controls
108 lines (102 loc) · 2.67 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
cabal-version: 3.0
name: openleetcode
version: 1.0.1.0
synopsis: we have democratized the LeetCode tests
homepage: https://github.com/therepanic/openleetcode
license: Unlicense
license-file: LICENSE
author: Andrey Litvitski
maintainer: andrey1010102008@gmail.com
category: Development
build-type: Simple
common warnings
ghc-options: -Wall
common cli-modules
other-modules:
Paths_openleetcode
CLI.AppEnv
CLI.GitHub
CLI.Commands
CLI.Download
CLI.Config
CLI.Onboarding
CLI.Submit
CLI.Installer
CLI.Runtime
CLI.SubmitPipeline
CLI.UI
CLI.Update
build-depends:
base ^>=4.19.1.0,
openleetcode:core,
optparse-applicative,
directory,
req,
zip-archive,
filepath,
yaml,
aeson,
bytestring,
text,
process,
containers
if os(windows)
build-depends: Win32
executable openleetcode
import: warnings, cli-modules
main-is: Main.hs
autogen-modules: Paths_openleetcode
hs-source-dirs: cli
default-language: GHC2021
library core
import: warnings
exposed-modules:
Core.Executor.Any
Core.Executor.Class
Core.Executor.Piston
Core.Types
Core.Generator.Class
Core.Generator.Splitmix
Core.Judge.Class
Core.Judge.IgnoreOrder
Core.Judge.Exact
Core.Test.Converter
Core.Test.Loader
Core.Test.Runner
Core.Test.Types
build-depends: base ^>=4.19.1.0,
req,
aeson,
text,
containers,
splitmix,
vector,
yaml,
async,
bytestring
hs-source-dirs: core
default-language: GHC2021
test-suite core-tests
import: warnings
default-language: GHC2021
type: exitcode-stdio-1.0
hs-source-dirs: core/tests
main-is: Main.hs
other-modules:
Generator.SplitmixSpec
Judge.ExactSpec
Judge.IgnoreOrderSpec
build-depends:
base ^>=4.19.1.0,
openleetcode:core,
hspec,
containers,
text
test-suite cli-tests
import: warnings, cli-modules
default-language: GHC2021
type: exitcode-stdio-1.0
hs-source-dirs: cli, cli/tests
main-is: CLIMain.hs
other-modules: CLISpec
build-depends: hspec