-
-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#401] Support GHC-8.8.2 #405
Conversation
Resolves #401
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no place for me here... I will choose the truth I like.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! I have a few questions, but this is very nice work 🙂
summoner-cli/src/Summoner/GhcVer.hs
Outdated
@@ -63,7 +63,7 @@ latestLts = \case | |||
Ghc822 -> "lts-11.22" | |||
Ghc844 -> "lts-12.26" | |||
Ghc865 -> "lts-14.18" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's also update the previous one to 14.27
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!
- ghc: 8.8.2 | ||
env: STACK_YAML="$TRAVIS_BUILD_DIR/stack.yaml" DEPLOY=yes | ||
- ghc: 8.8.1 | ||
env: STACK_YAML="$TRAVIS_BUILD_DIR/stack-nightly.yaml" DEPLOY=no | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice cleanup of this file! 👍
summoner-cli/test/Test/Show.hs
Outdated
, "GHC-8.2.2 base-4.10.1.0 lts-11.22 " | ||
, "GHC-8.4.4 base-4.11.1.0 lts-12.26 " | ||
, "GHC-8.6.5 base-4.12.0.0 lts-14.18 " | ||
, "GHC-8.8.1 base-4.13.0.0 nightly-2019-12-25" | ||
, "GHC-8.8.2 base-4.13.0.0 lts-15.0 " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we remove this padding from all values in the table? Or is it also useful for TUI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is for the table builder. This pad is supposed to take into consideration the maximum possible alignment, in here I counted the nightly as well. But you are right, I can improve this :)
@@ -144,4 +144,4 @@ formatGhcMeta GhcMeta{..} = | |||
<> " " | |||
<> T.justifyLeft 14 ' ' gmBase | |||
<> " " | |||
<> T.justifyLeft 18 ' ' gmResolver |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As this padding is not used for border creation it doesn't make much sense to keep it in the first place :)
0084962
to
9b71c80
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great! 😍
Resolves #401