land/build.sh

14 lines
407 B
Bash
Raw Normal View History

2018-06-18 01:48:10 +00:00
#! /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