-
Notifications
You must be signed in to change notification settings - Fork 0
/
anki.cabal
78 lines (70 loc) · 1.65 KB
/
anki.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
cabal-version: 3.0
name: anki
version: 0.1.0.0
license: BSD-3-Clause
license-file: LICENSE
copyright: 2020 Jan Hrček
maintainer: [email protected]
author: Jan Hrček
homepage: https://github.com/jhrcek/AnkiPron
synopsis:
Tool to download pronunciation MP3s and upload them to anki decks
description: Please see README.md
category: Web
build-type: Simple
source-repository head
type: git
location: [email protected]/jhrcek/AnkiPronHs.git
common common-options
ghc-options:
-Wall -Wincomplete-uni-patterns -Wincomplete-record-updates
-Wcompat -Widentities -Wredundant-constraints -fhide-source-paths
-Wpartial-fields -Wno-unrecognised-pragmas -Wunused-packages
-Winvalid-haddock -Woperator-whitespace -Wredundant-bang-patterns
default-language: GHC2021
library
import: common-options
exposed-modules:
AnkiDB
Download
Search.Duden
Search.DWDS
Search.Exception
Search.VocabularyCom
Types
hs-source-dirs: lib
build-depends:
, base >=4.13 && <5
, containers
, directory
, filepath
, http-client
, lens
, optparse-generic
, pcre-heavy
, process
, split
, sqlite-simple
, tagsoup
, text
, wreq
executable anki-exe
import: common-options
main-is: Main.hs
hs-source-dirs: .
ghc-options: -O2
build-depends:
, anki
, base
, containers
, optparse-generic
, text
test-suite anki-test
import: common-options
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
build-depends:
, anki
, base
, hspec