-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathget-password.cabal
More file actions
103 lines (97 loc) · 2.49 KB
/
get-password.cabal
File metadata and controls
103 lines (97 loc) · 2.49 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
cabal-version: 3.0
name: get-password
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.0.0
synopsis:
A wrapper around the LastPass CLI to quickly search for passwords.
homepage: https://github.com/tomphp/get-password
license: BSD-2-Clause
license-file: LICENSE
author: Tom Oram
maintainer: me@tomoram.io
category: Tool
build-type: Simple
extra-doc-files:
README.md,
CHANGELOG.md
common warnings
ghc-options:
-Wall
-Wcompat
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wpartial-fields
-Wredundant-constraints
common dependancies
default-extensions:
DisambiguateRecordFields,
DerivingStrategies,
NoImplicitPrelude,
OverloadedStrings,
RecordWildCards,
TemplateHaskell,
TupleSections
build-depends:
base ^>= 4.16.4.0,
microlens-th,
rio
library
import: warnings, dependancies
exposed-modules:
App,
App.Error,
Args.Class,
Args.CliArgs,
ConfigLoader.Class,
ConfigLoader.Config,
ConfigLoader.MacLoader,
GetPassword,
LastPass.Class,
LastPass.Cli,
LastPass.CliLastPass,
LastPass.Entry,
LastPass.EntryListParser,
LastPass.Error,
Printer.Class,
Printer.SimplePrinter,
System.Class,
System.Cli
build-depends:
megaparsec,
mtl ^>= 2.3.1,
process,
process-extras,
yaml
hs-source-dirs: src
default-language: GHC2021
executable get-password
import: warnings, dependancies
main-is: Main.hs
build-depends:
get-password,
mtl
hs-source-dirs: app
other-modules:
Env
default-language: GHC2021
test-suite get-password-test
import: warnings, dependancies
default-language: GHC2021
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Spec.hs
other-modules:
Args.CliArgsSpec,
ConfigLoader.MacLoaderSpec,
GetPasswordSpec,
LastPass.EntryListParserSpec,
LastPass.EntrySpec,
LastPassMock
build-depends:
get-password,
hspec,
mtl,
yaml