land/build.sh

12 lines
327 B
Bash
Raw Normal View History

2018-06-18 00:38:05 +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 hello.wasm hello.wast
cd "../../.."
go test -v ./cmd/land | tee bin/test.log