-
Notifications
You must be signed in to change notification settings - Fork 468
Upgrade dune version to get WASM binary #7349
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
Conversation
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 good to me!
251dd7b
to
f376368
Compare
277f7f6
to
9c49689
Compare
a544ca7
to
601d2f6
Compare
The WASM compiler failed to be installed on Windows. However, we don't perform JSOO tests on Windows. So I think it's better to skip Since conditional dependency is not supported in the dune syntax, we had to move the dependency management to the opam template. This is also the method that the dune project uses itself. |
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.
Great work! Thanks a lot!
|
||
if (process.platform !== "win32") { | ||
child_process.execSync(`strip ${dest}`); | ||
let mode = 0o755; |
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.
Why are the permission-related changes required now?
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.
They don't give write permission anymore. binaries are r+x
.
The script is to grant required permissions before the task and to revoke them after it is completed.
* upgrade dune version to get WASM build * suppress warnings in corrected way * fix permission issues * format * install js_of_ocaml-ppx * fix * fix playground test * manage dependency list in opam template * fix opam cache key to use opam
No description provided.