mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 02:11:53 +00:00
* wip * finishes initial refactor * prune unused code * finished massive refactor * remove commented deps * fix import * fix bug
145 lines
2.5 KiB
YAML
145 lines
2.5 KiB
YAML
name: start9-registry
|
|
version: 0.2.1
|
|
|
|
default-extensions:
|
|
- NoImplicitPrelude
|
|
- GHC2021
|
|
- LambdaCase
|
|
- OverloadedStrings
|
|
|
|
dependencies:
|
|
- base >=4.12 && <5
|
|
- base64
|
|
- aeson
|
|
- ansi-terminal
|
|
- attoparsec
|
|
- bytestring
|
|
- casing
|
|
- can-i-haz
|
|
- conduit
|
|
- conduit-extra
|
|
- containers
|
|
- cryptonite
|
|
- cryptonite-conduit
|
|
- data-default
|
|
- dhall
|
|
- directory
|
|
- errors
|
|
- esqueleto
|
|
- extra
|
|
- file-embed
|
|
- fast-logger
|
|
- filepath
|
|
- foreign-store
|
|
- fsnotify
|
|
- http-api-data
|
|
- http-client-tls
|
|
- http-conduit
|
|
- http-types
|
|
- interpolate
|
|
- lens
|
|
- memory
|
|
- monad-logger
|
|
- monad-logger-extras
|
|
- monad-loops
|
|
- network-uri
|
|
- optparse-applicative
|
|
- parallel
|
|
- persistent
|
|
- persistent-migration
|
|
- persistent-postgresql
|
|
- persistent-template
|
|
- postgresql-simple
|
|
- process
|
|
- protolude
|
|
- rainbow
|
|
- shakespeare
|
|
- template-haskell
|
|
- terminal-progress-bar
|
|
- text
|
|
- time
|
|
- transformers
|
|
- typed-process
|
|
- unliftio
|
|
- unordered-containers
|
|
- unix
|
|
- wai
|
|
- wai-cors
|
|
- wai-extra
|
|
- warp
|
|
- warp-tls
|
|
- yaml
|
|
- yesod
|
|
- yesod-auth
|
|
- yesod-auth-basic
|
|
- 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
|
|
embassy-publish:
|
|
source-dirs: cli
|
|
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.
|