mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 10:21:51 +00:00
120 lines
2.0 KiB
YAML
120 lines
2.0 KiB
YAML
name: start9-registry
|
|
version: 0.1.0
|
|
|
|
default-extensions:
|
|
- FlexibleInstances
|
|
- GeneralizedNewtypeDeriving
|
|
- LambdaCase
|
|
- MultiWayIf
|
|
- NamedFieldPuns
|
|
- NoImplicitPrelude
|
|
- NumericUnderscores
|
|
- OverloadedStrings
|
|
- StandaloneDeriving
|
|
|
|
dependencies:
|
|
- base >=4.12 && <5
|
|
- aeson
|
|
- ansi-terminal
|
|
- attoparsec
|
|
- bytestring
|
|
- casing
|
|
- can-i-haz
|
|
- conduit
|
|
- conduit-extra
|
|
- data-default
|
|
- directory
|
|
- errors
|
|
- esqueleto
|
|
- extra
|
|
- file-embed
|
|
- fast-logger
|
|
- filepath
|
|
- foreign-store
|
|
- fsnotify
|
|
- http-types
|
|
- interpolate
|
|
- lens
|
|
- monad-logger
|
|
- monad-logger-extras
|
|
- parallel
|
|
- persistent
|
|
- persistent-postgresql
|
|
- persistent-template
|
|
- process
|
|
- protolude
|
|
- shakespeare
|
|
- template-haskell
|
|
- text
|
|
- time
|
|
- transformers
|
|
- typed-process
|
|
- unliftio
|
|
- unordered-containers
|
|
- unix
|
|
- wai
|
|
- wai-cors
|
|
- wai-extra
|
|
- warp
|
|
- warp-tls
|
|
- yaml
|
|
- yesod
|
|
- yesod-core
|
|
- yesod-persistent
|
|
|
|
library:
|
|
source-dirs: src
|
|
when:
|
|
- condition: (flag(dev)) || (flag(library-only))
|
|
then:
|
|
cpp-options: -DDEVELOPMENT
|
|
ghc-options:
|
|
- -Wall
|
|
- -fwarn-tabs
|
|
- -O0
|
|
- -fdefer-typed-holes
|
|
else:
|
|
ghc-options:
|
|
- -Wall
|
|
- -fwarn-tabs
|
|
- -O2
|
|
- -fdefer-typed-holes
|
|
|
|
executables:
|
|
start9-registry:
|
|
source-dirs: app
|
|
main: main.hs
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -fdefer-typed-holes
|
|
dependencies:
|
|
- start9-registry
|
|
when:
|
|
- condition: flag(library-only)
|
|
buildable: false
|
|
|
|
tests:
|
|
start9-registry-test:
|
|
source-dirs: test
|
|
main: Main.hs
|
|
ghc-options:
|
|
- -Wall
|
|
- -fdefer-typed-holes
|
|
dependencies:
|
|
- start9-registry
|
|
- hspec
|
|
- yesod-test
|
|
- hedgehog
|
|
|
|
flags:
|
|
library-only:
|
|
manual: false
|
|
default: false
|
|
description: Build for use with "yesod devel"
|
|
dev:
|
|
manual: false
|
|
default: false
|
|
description: Turn on development settings, like auto-reload templates.
|