-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.yaml
80 lines (72 loc) · 1.43 KB
/
package.yaml
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
name: git-brunch
version: 1.7.2.0
github: "andys8/git-brunch"
license: BSD3
author: "andys8"
maintainer: "[email protected]"
copyright: "2023 andys8"
extra-source-files:
- README.md
synopsis: git checkout command-line tool
category: Git
description: Please see the README on GitHub at <https://github.com/andys8/git-brunch>
dependencies:
- base >= 4.7 && < 5
- brick
- extra
- microlens
- microlens-mtl
- mtl
- optparse-applicative
- process
- text
- vector
- vty
- hspec # workaround for language servers
default-extensions:
- ImportQualifiedPost
- LambdaCase
- OverloadedStrings
- StrictData
flags:
static:
manual: true
default: false
executables:
git-brunch:
main: Main.hs
source-dirs: app
when:
- condition: flag(static)
then:
cc-options: -static
ld-options: -static -pthread
ghc-options:
- -static
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -Wall
- -O2
- -optl-fuse-ld=bfd
else:
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -Wall
- -O2
tests:
git-brunch-test:
main: Spec.hs
source-dirs:
- test
- app
other-modules:
- Git
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- hspec