-
Notifications
You must be signed in to change notification settings - Fork 469
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
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
50502e8
upgrade dune version to get WASM build
cometkim ed13393
suppress warnings in corrected way
cometkim 0c2d016
fix permission issues
cometkim 2a05351
format
cometkim b272050
install js_of_ocaml-ppx
cometkim 5d32be7
fix
cometkim e902dda
fix playground test
cometkim ebd7b1e
manage dependency list in opam template
cometkim 7718115
fix opam cache key to use opam
cometkim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,18 +6,8 @@ authors: ["Hongbo Zhang <[email protected]>"] | |
license: "LGPL-3.0-or-later" | ||
homepage: "https://github.com/rescript-lang/rescript-compiler" | ||
bug-reports: "https://github.com/rescript-lang/rescript-compiler/issues" | ||
depends: [ | ||
"ocaml" {>= "4.14"} | ||
"ocamlformat" {with-test & = "0.27.0"} | ||
"yojson" {with-test & = "2.2.2"} | ||
"ocaml-lsp-server" {with-dev-setup & = "1.22.0"} | ||
"cppo" {= "1.8.0"} | ||
"js_of_ocaml" {= "6.0.1"} | ||
"ounit2" {= "2.2.7"} | ||
"dune" | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
["dune" "subst"] {dev} | ||
[ | ||
"dune" | ||
"build" | ||
|
@@ -30,3 +20,17 @@ build: [ | |
"@doc" {with-doc} | ||
] | ||
] | ||
depends: [ | ||
"ocaml" {>= "4.14"} | ||
"ocamlformat" {with-test & = "0.27.0"} | ||
"yojson" {with-test & = "2.2.2"} | ||
"ocaml-lsp-server" {with-dev-setup & = "1.22.0"} | ||
"cppo" {= "1.8.0"} | ||
"ounit2" {= "2.2.7"} | ||
"dune" {>= "3.17"} | ||
"odoc" {with-doc} | ||
# Dependencies that could be broken on Windows runners | ||
"js_of_ocaml" {= "6.0.1" & os != "win32"} | ||
"js_of_ocaml-ppx" {= "6.0.1" & os != "win32"} | ||
"wasm_of_ocaml-compiler" {= "6.0.1" & os != "win32"} | ||
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
depends: [ | ||
"ocaml" {>= "4.14"} | ||
"cppo" {= "1.8.0"} | ||
"dune" {>= "3.17"} | ||
"ocamlformat" {with-test & = "0.27.0"} | ||
"yojson" {with-test & = "2.2.2"} | ||
"ounit2" {with-test & = "2.2.7"} | ||
"odoc" {with-doc} | ||
"ocaml-lsp-server" {with-dev-setup & = "1.22.0"} | ||
|
||
# Test dependencies that would be broken on Windows runners | ||
"js_of_ocaml" {os != "win32" & with-test & = "6.0.1"} | ||
"js_of_ocaml-ppx" {os != "win32" & with-test & = "6.0.1"} | ||
"wasm_of_ocaml-compiler" {os != "win32" & with-test & = "6.0.1"} | ||
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.