-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.yaml
90 lines (90 loc) · 1.54 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
81
82
83
84
85
86
87
88
89
90
name: chips
version: 1.1.2
synopsis: A plugin manager for the fish shell
description: Please see README.md
category: Shell
author: XT
maintainer: e@xtendo.org
copyright: 2015 XT et al.
license: GPL-3
license-file: LICENSE/chips
github: xtendo-org/chips
extra-source-files:
- README.md
- src/gnulinux/Platform.hs
- src/osx/Platform.hs
default-extensions:
- TemplateHaskell
- OverloadedStrings
library:
source-dirs: src
default-extensions:
- LambdaCase
- MultiWayIf
- RecordWildCards
exposed-modules:
- Lib
- Utility
- Platform
- SelfUpdate
- Config
- Git
- Spawn
- Chips
dependencies:
- aeson
- base
- base64-bytestring
- bytestring
- cmdargs
- rawfilepath
- semver
- template-haskell
- text
- unix
- yaml
when:
- condition: os(linux)
source-dirs: src/gnulinux
- condition: os(osx)
source-dirs: src/osx
executables:
chips:
main: Main.hs
source-dirs: app
dependencies:
- chips
- base
when:
- condition: os(linux)
ghc-options:
- -Wall
- -static
- -threaded
- -rtsopts
# - -optl-pthread
# - -optc-static
# - -optl-static
- condition: os(osx)
ghc-options:
- -Wall
- -static
- -threaded
- -rtsopts
tests:
chips-test:
main: Spec.hs
source-dirs: test
default-extensions:
- LambdaCase
- MultiWayIf
- RecordWildCards
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- hspec >=2.2.2 && <3
- text >=1.2.2 && <2
- chips
- base