Dhall-haskell: The windows version of dhall-lsp-server in the latest release is different from mac and linux

Created on 21 Oct 2019  Â·  7Comments  Â·  Source: dhall-lang/dhall-haskell

Screen Shot 2019-10-21 at 11 27 20 am

CI build

Most helpful comment

If only there were a configuration language that could be used to generate both Cabal files and Bash to keep them both in sync … 🤔

j/k I think using sed is fine. I just couldn't resist the joke 🙂

All 7 comments

Same for dhall-jsonand dhall-bash, it is taking the version of the main dhall package the github main tag instead the specific cabal version one for them.
But the version of the executable inside the zip is the correct one (we can check it with the --version cli option).
We have to revise the appveyor script to correct this.

Thanks for the catch! I just fixed the version numbers on them

Shouldn't we still fix the AppVeyor config?

ugh, i feel a strange itch when i see regular expressions 😄

I think a more generic solution would be to ask for the version to executables being released:

mk_release_name() { echo "$1-$($1 --version )-x86_64-macos.tar.bz2"; } 

(or ($1 version), it will great that all executables would have the same way to get it)

If only there were a configuration language that could be used to generate both Cabal files and Bash to keep them both in sync … 🤔

j/k I think using sed is fine. I just couldn't resist the joke 🙂

Heads up that this still hasn't been fixed @Gabriel439 – the .zips still need to be manually renamed! :/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Gabriel439 picture Gabriel439  Â·  6Comments

SiriusStarr picture SiriusStarr  Â·  5Comments

chris-martin picture chris-martin  Â·  5Comments

ocharles picture ocharles  Â·  4Comments

kevinjqiu picture kevinjqiu  Â·  5Comments