-
-
Notifications
You must be signed in to change notification settings - Fork 389
Properly name the binaries before gzipping them #225
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
Comments
Mainly unrelated but, would it possible that windows binaries will use zip instead gzip? It is the default format in windows. |
@jneira I didn't realise that, that's a good catch! |
Still have sort of a similar problem, the Linux releases are named haskell-language-server-Linux-8.x.x but the wrapper specifically looks for haskell-language-server-8.x.x. I had to manually rename the executable in order to get it to work. |
I'm wondering why does the workflow script renames executables. Specifically, haskell-language-server/.github/workflows/build.yml Lines 37 to 44 in f2384e1
It looks like this is why we get the different names instead of the proper names... |
@Ailrun According to the blog post: https://mpickering.github.io/ide/posts/2020-07-10-ghc-libdir.html |
Thank you for the link. Windows path limit... that's annoying... Then we should rename it after the build... |
I am afraid that they need to be renamed before the build or the build itself fails. |
Also use zip as compression method for Windows Fixes haskell#225
@jneira do you know what command can be used on git bash to zip files on Windows? Just calling I checked the GitHub Actions virtual environment and 7zip seems to be installed, but I'm not sure what the command/executable is |
@bubba AFAIK, the command for 7zip is |
Also use zip as compression method for Windows Fixes haskell#225
Also use zip as compression method for Windows Fixes haskell#225
Also use zip as compression method for Windows Fixes haskell#225
Also use zip as compression method for Windows Fixes haskell#225
Also use zip as compression method for Windows Fixes haskell#225
Currently all the binaries are gzipped with the proper name, but when unzipped have the name
hls
orhis-wrapper
. They should be namedhaskell-language-server-8.x.y
andhaskell-language-server-wrapper
respectivelyThe text was updated successfully, but these errors were encountered: