14 lines
407 B
Bash
Executable File
14 lines
407 B
Bash
Executable File
#! /bin/sh -e
|
|
cd "cmd/land"
|
|
vgo build -o ../../bin/land
|
|
cd "../../userland/src/lib"
|
|
node ../../compile.js counter.walt counter.wasm
|
|
node ../../compile.js memory.walt memory.wasm
|
|
wat2wasm -o add.wasm add.wast
|
|
wat2wasm -o env.wasm env.wast
|
|
wat2wasm -o fileops.wasm fileops.wast
|
|
wat2wasm -o hello.wasm hello.wast
|
|
wat2wasm -o writefile.wasm writefile.wast
|
|
cd "../../.."
|
|
go test -v ./cmd/land | tee bin/test.log
|