Add separate stack.yaml to not redownload GHC
This commit is contained in:
parent
5ef82d94ac
commit
4541870aab
14
test/expected-compile-failures/stack-8.2.yaml
Normal file
14
test/expected-compile-failures/stack-8.2.yaml
Normal 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
|
||||||
5
test/expected-compile-failures/stack-8.4.yaml
Normal file
5
test/expected-compile-failures/stack-8.4.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
resolver: lts-12.24
|
||||||
|
|
||||||
|
packages:
|
||||||
|
- .
|
||||||
|
- ../../../esqueleto
|
||||||
11
test/expected-compile-failures/stack-8.6.yaml
Normal file
11
test/expected-compile-failures/stack-8.6.yaml
Normal 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
|
||||||
@ -1,5 +1,7 @@
|
|||||||
#!/bin/env bash
|
#!/bin/env bash
|
||||||
|
|
||||||
STACK_YAML=stack.yaml
|
if stack build --fast expected-compile-failures:exe:write-with-read-role; then
|
||||||
|
exit 1
|
||||||
stack build --fast expected-compile-failures:exe:write-with-read-role && exit 1
|
else
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user