-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.yaml
84 lines (79 loc) · 1.68 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
name: pacrd-migrate
version: 0.1.0
#synopsis:
#description:
github: armory/pacrd-migrate
license: BSD3
author: Fernando Freire
maintainer: [email protected]
copyright: 2021 Armory.io
category: CLI
extra-source-files:
- README.md
dependencies:
- base >= 4.7 && < 5
- aeson
- aeson-pretty
- bytestring
- directory
- filepath
- hashable
- optparse-applicative
- text
- unordered-containers
- yaml
ghc-options:
- -Wall
- -Wcompat
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wredundant-constraints
- -fno-warn-partial-type-signatures
- -fno-warn-name-shadowing
- -fwarn-tabs
- -fwarn-unused-imports
- -fwarn-missing-signatures
- -fwarn-incomplete-patterns
- -fwrite-ide-info
- -hiedir=.hie
default-extensions:
- BangPatterns
- DefaultSignatures
- DeriveFoldable
- DeriveFunctor
- DeriveGeneric
- DeriveLift
- DeriveTraversable
- EmptyCase
- FlexibleContexts
- FlexibleInstances
- FunctionalDependencies
- GeneralizedNewtypeDeriving
- InstanceSigs
- LambdaCase
- MultiParamTypeClasses
- MultiWayIf
- OverloadedStrings
- PatternSynonyms
- ScopedTypeVariables
- TemplateHaskell
flags:
static:
description: Build a static binary.
manual: true
default: false
executables:
pacrd-migrate:
source-dirs: src
main: Main.hs
when:
- condition: flag(static)
ghc-options:
- -threaded
- -static
- -O2
- -optl-static
- -optl-pthread
- -fPIC
cc-options: -static
ld-options: -static -pthread