File tree Expand file tree Collapse file tree 3 files changed +676
-917
lines changed Expand file tree Collapse file tree 3 files changed +676
-917
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ HIEBIN='hie'
26
26
BACKUP_HIEBIN=' hie'
27
27
# Match the version number with a HIE version, and provide a fallback without
28
28
# the patch number.
29
+
30
+ # GHC 8.0.*
29
31
if [[ $versionNumber = * " 8.0.1" * ]]; then
30
32
debug " Project is using GHC 8.0.1"
31
33
HIEBIN=' hie-8.0.1'
@@ -37,6 +39,8 @@ elif [[ $versionNumber = *"8.0.2"* ]]; then
37
39
elif [[ $versionNumber = * " 8.0" * ]]; then
38
40
debug " Project is using GHC 8.0.*"
39
41
HIEBIN=' hie-8.0'
42
+
43
+ # GHC 8.2.*
40
44
elif [[ $versionNumber = * " 8.2.1" * ]]; then
41
45
debug " Project is using GHC 8.2.1"
42
46
HIEBIN=' hie-8.2.1'
@@ -48,6 +52,16 @@ elif [[ $versionNumber = *"8.2.2"* ]]; then
48
52
elif [[ $versionNumber = * " 8.2" * ]]; then
49
53
debug " Project is using GHC 8.2.*"
50
54
HIEBIN=' hie-8.2'
55
+
56
+ # GHC 8.4.*
57
+ elif [[ $versionNumber = * " 8.4.2" * ]]; then
58
+ debug " Project is using GHC 8.4.2"
59
+ HIEBIN=' hie-8.4.2'
60
+ BACKUP_HIEBIN=' hie-8.4'
61
+ elif [[ $versionNumber = * " 8.4" * ]]; then
62
+ debug " Project is using GHC 8.4.*"
63
+ HIEBIN=' hie-8.4'
64
+
51
65
else
52
66
debug " WARNING: GHC version does not match any of the checked ones."
53
67
fi
You can’t perform that action at this time.
0 commit comments