mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-11 14:58:29 +01:00
15 lines
371 B
Bash
Executable File
15 lines
371 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Convenience script for checking constraints locally
|
|
|
|
cd `dirname $0`
|
|
|
|
export GHCVER=$(sed -n "s/^ghc-version: \"\(.*\)\"/\1/p" "lts-build-constraints.yaml")
|
|
|
|
LTS="lts-$@"
|
|
curator update &&
|
|
curator constraints --target=$LTS &&
|
|
curator snapshot-incomplete --target=$LTS &&
|
|
curator snapshot &&
|
|
stack --resolver ghc-$GHCVER exec curator check-snapshot
|