Skip to content

Commit

Permalink
move wasabi into third_party
Browse files Browse the repository at this point in the history
  • Loading branch information
doehyunbaek committed Aug 19, 2024
1 parent b3e4a94 commit b93d6f3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[submodule "wasabi"]
path = wasabi
[submodule "third_party/wasabi"]
path = third_party/wasabi
url = https://github.com/jakobgetz/wasabi.git
branch = jakob
[submodule "binaryen"]
path = binaryen
url = https://github.com/WebAssembly/binaryen.git
[submodule "third_party/wizard-engine"]
path = third_party/wizard-engine
url = https://github.com/doehyunbaek/wizard-engine
[submodule "binaryen"]
path = binaryen
url = https://github.com/WebAssembly/binaryen.git
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"test": "node --experimental-strip-types ./src/test.ts",
"build": "npm run build-rust && npm run build-wasabi",
"build-rust": "cd crates && cargo build --release && cd -",
"build-wasabi": "cd wasabi/crates/wasabi_js && npm run build && wasm-pack build --target web && cd ../../.."
"build-wasabi": "cd third_party/wasabi/crates/wasabi_js && npm run build && wasm-pack build --target web && cd ../../.."
}
}
4 changes: 2 additions & 2 deletions src/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ export class Analyser {
}

private async constructInitScript() {
const wasabiScript = await fs.readFile('./wasabi/crates/wasabi_js/pkg/wasabi_js_merged.js') + '\n'
const setupScript = await fs.readFile('./wasabi/crates/wasabi/js/r3.js') + '\n'
const wasabiScript = await fs.readFile('./third_party/wasabi/crates/wasabi_js/pkg/wasabi_js_merged.js') + '\n'
const setupScript = await fs.readFile('./third_party/wasabi/crates/wasabi/js/r3.js') + '\n'
return wasabiScript + ';' + setupScript + ';'
}

Expand Down

0 comments on commit b93d6f3

Please sign in to comment.