-
Notifications
You must be signed in to change notification settings - Fork 208
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
[justusadam.language-haskell] Add 'make all' for the justusadam.language-haskell extension #122
Conversation
@@ -461,7 +461,7 @@ | |||
"repository": "https://github.com/JustusAdam/language-haskell", | |||
"version": "3.3.0", | |||
"checkout": "v3.3.0", | |||
"prepublish": "npm i --save-dev @types/node@10" | |||
"prepublish": "npm i --save-dev @types/node@10 && make all" |
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.
I tested this locally and worked - and it seems like the ubuntu-latest
image contains build-essentials
package which has make
. But I wasn't able to test it in the GH workflow environment.
Would be cool if there was a 'dry run' for PR validation! 😄
Also some notes about the generation here: JustusAdam/language-haskell#169 |
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.
Wow, great catch, many thanks for fixing this! 💯
Fix looks good to me, so I'll merge it and report back CI results. (I agree that a PR validation mechanism would be great -- albeit one that doesn't actually upload stuff to OpenVSX!)
I've also subscribed to the issue about publishing this extension upstream. Thanks again!
I cannot remove the current version 3.3.0 because it is the only published version, and |
@spoenemann Maybe we can circumvent this, e.g. by publishing an older version, that way you can delete the broken upload, and we re-publish the latest again. EDIT: 3.0.3 is scheduled for publishing in ~6 minutes. |
…h a fixed extension Context: #122 (comment)
Oops, publishing tag
I guess this |
Thanks @jankeromnes @spoenemann !
Ah, ya, it looks like the |
… didn't exist in 3.0.3 Context: #122 (comment)
@spoenemann Please delete version 3.3.0 of https://open-vsx.org/extension/justusadam/language-haskell so that we can re-publish a fixed version. 🙂 |
Revert "[justusadam.language-haskell] Temporarily remove 'make all' step that didn't exist in 3.0.3" Revert "[justusadam.language-haskell] Temporarily roll back version to publish a fixed extension" Context: #122 (comment)
Revert "[justusadam.language-haskell] Temporarily remove 'make all' step that didn't exist in 3.0.3" Revert "[justusadam.language-haskell] Temporarily roll back version to publish a fixed extension" Context: #122 (comment)
Done. |
The issue still persists Error
Steps:
Edit: I updated to the latest nightly and now it works |
…h a fixed extension Context: open-vsx#122 (comment)
… didn't exist in 3.0.3 Context: open-vsx#122 (comment)
Revert "[justusadam.language-haskell] Temporarily remove 'make all' step that didn't exist in 3.0.3" Revert "[justusadam.language-haskell] Temporarily roll back version to publish a fixed extension" Context: open-vsx#122 (comment)
Issue: The language-haskell plugin is missing syntax files. These are intended to be generated during the build, via
make all
, but this wasn't included in the publish script. This means that the extension is broken - at least for syntax highlighting.We noticed this in onivim/oni2#2307 using the language-haskell extension published to open-vsx.
Fix: Add
make all
to the prepublish script forlanguage-haskell
.Related: