Skip to content
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

Fix build script when there is space in project path #340

Merged
merged 3 commits into from
Feb 6, 2023
Merged
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
2 changes: 1 addition & 1 deletion packages/near-sdk-js/lib/cli/cli.js

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

2 changes: 1 addition & 1 deletion packages/near-sdk-js/lib/cli/post-install.js

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

2 changes: 1 addition & 1 deletion packages/near-sdk-js/src/cli/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,5 +385,5 @@ async function createWasmContract(

async function wasiStubContract(contractTarget: string, verbose = false) {
const WASI_STUB = `${NEAR_SDK_JS}/lib/cli/deps/binaryen/wasi-stub/run.sh`;
await executeCommand(`${WASI_STUB} ${contractTarget} >/dev/null`, verbose);
await executeCommand(`${WASI_STUB} ${contractTarget}`, verbose);
}
2 changes: 1 addition & 1 deletion packages/near-sdk-js/src/cli/post-install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if (!SUPPORTED_ARCH.includes(ARCH)) {

signale.await("Installing wasi-stub...");

const BINARYEN_VERSION = `0.1.10`;
const BINARYEN_VERSION = `0.1.15`;
const BINARYEN_VERSION_TAG = `v${BINARYEN_VERSION}`;

const BINARYEN_SYSTEM_NAME =
Expand Down