Add separate stack.yaml to not redownload GHC

This commit is contained in:
parsonsmatt 2018-12-18 17:07:00 -07:00
parent 5ef82d94ac
commit 4541870aab
4 changed files with 35 additions and 3 deletions

View File

@ -0,0 +1,14 @@
resolver: lts-10.6
extra-deps:
- persistent-2.8.1
- persistent-mysql-2.8.1
- persistent-postgresql-2.8.1
- persistent-sqlite-2.8.1
- conduit-1.3.0
- conduit-extra-1.3.0
- resourcet-1.2.0
packages:
- .
- ../../../esqueleto

View File

@ -0,0 +1,5 @@
resolver: lts-12.24
packages:
- .
- ../../../esqueleto

View File

@ -0,0 +1,11 @@
resolver: nightly-2018-12-18
extra-deps:
- persistent-postgresql-2.8.2.0
- postgresql-simple-0.5.4.0
allow-newer: true
packages:
- .
- ../../../esqueleto

View File

@ -1,5 +1,7 @@
#!/bin/env bash
STACK_YAML=stack.yaml
stack build --fast expected-compile-failures:exe:write-with-read-role && exit 1
if stack build --fast expected-compile-failures:exe:write-with-read-role; then
exit 1
else
exit 0
fi