commit 08ac853719af181cdf56aa65a2ba2f21f84574d4 Author: NikVolf Date: Wed Apr 12 13:58:22 2017 +0300 initial diff --git a/runner/.gitignore b/runner/.gitignore new file mode 100644 index 0000000..c585e19 --- /dev/null +++ b/runner/.gitignore @@ -0,0 +1 @@ +out \ No newline at end of file diff --git a/runner/build.sh b/runner/build.sh new file mode 100755 index 0000000..32599dd --- /dev/null +++ b/runner/build.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +# "Compile rust source and put it as a tested contract" + +mkdir -p out +rustc $1 -o out/contract.js -O --target wasm32-unknown-emscripten \ No newline at end of file diff --git a/runner/index.html b/runner/index.html new file mode 100644 index 0000000..283754b --- /dev/null +++ b/runner/index.html @@ -0,0 +1,74 @@ + + + + + + + + \ No newline at end of file diff --git a/runner/start.sh b/runner/start.sh new file mode 100755 index 0000000..fd970b6 --- /dev/null +++ b/runner/start.sh @@ -0,0 +1,2 @@ +#!/bin/sh +python -m SimpleHTTPServer 8000 \ No newline at end of file