* Update resolver to lts-13.29 and add lock file to repository * Upgrade stack version * Save cache after building dependencies only to have faster feedback loop when tests fail * Move private functions from QueryBuilder to a separate Private module * Move more functions over to private trying to make compilation consume less memory * Split private in 4 modules * Remove unused LambdaCase pragma * Add profile to memory-tests.sh so it can find postgrest executable * Move save dependencies before building and running tests for faster feedback loop
22 lines
585 B
YAML
22 lines
585 B
YAML
# stack.yaml is used for circle-ci tests. Profiling build fails on circleci
|
|
# with GHC 8.6, so we build with 8.4 for now.
|
|
|
|
resolver: lts-13.29
|
|
extra-deps:
|
|
- Ranged-sets-0.4.0
|
|
- configurator-pg-0.1.0.3
|
|
- http-types-0.12.3
|
|
- hasql-1.4
|
|
- hasql-pool-0.5.1
|
|
- hasql-transaction-0.7.2
|
|
- text-builder-0.6.5.1
|
|
- deferred-folds-0.9.10.1
|
|
- primitive-0.6.4.0
|
|
- jose-0.8.1.0
|
|
- text-printer-0.5.0.1
|
|
- network-2.7.0.1
|
|
ghc-options:
|
|
postgrest: -O2 -Werror -Wall -fwarn-identities -fno-warn-redundant-constraints -optP-Wno-nonportable-include-path
|
|
nix:
|
|
packages: [pcre, pkgconfig, postgresql, zlib]
|