Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
with:
submodules: "recursive"

- name: "Build binaryen.es5.js"
- name: "Build binaryen.js"
run: |
mkdir ./binaryen/build
cd ./binaryen/build
Expand All @@ -49,7 +49,7 @@ jobs:
emcmake cmake .. -DCMAKE_BUILD_TYPE=Release -DJS_OF_OCAML=ON -DBUILD_TOOLS=OFF -DBUILD_TESTS=OFF
emmake make -j2 binaryen_js
cd ../..
mv ./binaryen/build/bin/binaryen_js.js binaryen.es5.js
mv ./binaryen/build/bin/binaryen_js.js binaryen.js

# Setup a "bot" name & email for our commit step
# using the GitHub Actions bot user: https://github.community/t/github-actions-bot-email-address/17204/6
Expand All @@ -59,8 +59,8 @@ jobs:
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com

# Only commit if there's a change. Ref https://stackoverflow.com/a/8123841
- name: Commit binaryen.es5.js
- name: Commit binaryen.js
run: |
git add binaryen.es5.js
git diff-index --quiet HEAD || git commit -m 'chore: Rebuild binaryen.es5.js'
git add binaryen.js
git diff-index --quiet HEAD || git commit -m 'chore: Rebuild binaryen.js'
git push
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "binaryen"]
path = binaryen
url = https://github.com/WebAssembly/binaryen
url = https://github.com/spotandjake/binaryen
2 changes: 1 addition & 1 deletion binaryen
Submodule binaryen updated 178 files
394 changes: 0 additions & 394 deletions binaryen.es5.js

This file was deleted.

4 changes: 3 additions & 1 deletion dune
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
(c_library_flags :standard -lstdc++ -lpthread)
(install_c_headers binaryen-c)
(js_of_ocaml
(javascript_files binaryen.es5.js)))
(javascript_files binaryen.js)))

(install
(section lib)
Expand Down Expand Up @@ -138,3 +138,5 @@
-DCMAKE_INSTALL_PREFIX=binaryen)
(run cmake --build binaryen --config Release -- -j4)
(copy binaryen/bin/libbinaryen.dll dllbinaryen.dll)))))

(data_only_dirs node_modules)
107 changes: 54 additions & 53 deletions esy.lock/index.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading