fullcheck script builds with multiple resolvers
authorAshley Yakeley <ashley@semantic.org>
Wed, 1 Aug 2018 01:58:59 +0000 (18:58 -0700)
committerAshley Yakeley <ashley@semantic.org>
Wed, 1 Aug 2018 01:58:59 +0000 (18:58 -0700)
Checklist
fullcheck [new file with mode: 0755]

index 480bf61..c3be39c 100644 (file)
--- a/Checklist
+++ b/Checklist
@@ -23,6 +23,7 @@ Before release:
 
     https://www.stackage.org/lts
     stack.yaml
+    fullcheck
     (not necessarily benchmark/stack.yaml)
     .travis.yml (if present)
 
@@ -33,7 +34,7 @@ Before release:
 
 7. Build & test
 
-    stack build && echo OK
+    ./fullcheck
 
 8. Build benchmark
 
@@ -60,14 +61,14 @@ Before release:
     stack upgrade
     stack --version
     git pull
-    stack build && echo OK
+    ./fullcheck
 
 13. Build and test on Windows
 
     stack upgrade
     stack --version
     git pull
-    stack build && echo OK
+    ./fullcheck
 
 14. Upload to Hackage
 
diff --git a/fullcheck b/fullcheck
new file mode 100755 (executable)
index 0000000..e379726
--- /dev/null
+++ b/fullcheck
@@ -0,0 +1,7 @@
+#!/bin/bash -e
+# latest LTS resolver for each GHC x.y version
+for r in lts-9 lts-11 lts-12
+do
+stack --resolver $r build
+done
+echo OK