Start work on wasm2js

This commit is contained in:
Austen Adler 2023-03-13 00:02:33 -04:00
parent aca323ccf6
commit 3658b36d37

View File

@ -15,6 +15,8 @@ rust-build: output-clean js-build
wasm-build: wasm-build:
wasm-pack build --target web xpin-wasm wasm-pack build --target web xpin-wasm
# wasm2js xpin-wasm/pkg/xpin_wasm_bg.wasm -o xpin-wasm/pkg/xpin_wasm_bg.wasm.js
# sed -i 's/xpin_wasm_bg.wasm/xpin_wasm_bg.wasm.js/' xpin-wasm/pkg/wasm2js.js xpin-wasm/pkg/wasm2js_bg.js
wordlist-build: wordlist-build:
. wordlist/venv/bin/activate && cd wordlist && for i in *.py; do "./${i}"; done . wordlist/venv/bin/activate && cd wordlist && for i in *.py; do "./${i}"; done