mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-11 23:08:30 +01:00
Add check-lts command
This commit is contained in:
parent
25bedc3f2c
commit
8518a38303
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@ check-plan.yaml
|
|||||||
/constraints.yaml
|
/constraints.yaml
|
||||||
/snapshot.yaml
|
/snapshot.yaml
|
||||||
/snapshot-incomplete.yaml
|
/snapshot-incomplete.yaml
|
||||||
|
/constraints.yaml.previous
|
||||||
|
|||||||
14
check-lts
Executable file
14
check-lts
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/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
|
||||||
0
lts-build-constraints.yaml
Normal file → Executable file
0
lts-build-constraints.yaml
Normal file → Executable file
Loading…
Reference in New Issue
Block a user