git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit b1c93edeea0cf16136ca43f608f4e121f45f84c3

Merge pull request #11 from ewasm/sexpr

Move sexpr-wasm-prototype to tools
wanderer authored on 8/3/2016, 11:40:56 PM
GitHub committed on 8/3/2016, 11:40:56 PM
Parent: 8399834b6862bec67ec1c8baa145c7163cc4d3f9
Parent: efd9ca81724858a16212833d23944dcec15769c4

Files changed

.gitmoduleschanged
README.mdchanged
package.jsonchanged
tests/interfaceRunner.jschanged
sexpr-wasm-prototypedeleted
tools/sexpr-wasm-prototypeadded
.gitmodulesView
@@ -1,3 +1,3 @@
11 [submodule "sexpr-wasm-prototype"]
2- path = sexpr-wasm-prototype
2+ path = tools/sexpr-wasm-prototype
33 url = https://github.com/WebAssembly/sexpr-wasm-prototype.git
README.mdView
@@ -21,14 +21,13 @@
2121 # TESTS
2222 The tests are written in wasm's text format (.wast) which are then compiled into binary format and ran in node.
2323
2424 To run the test you need
25-* `git submodule update --init`
26-* `cd sexpr-wasm-prototype`
25+* `git submodule update --init --recursive`
26+* `cd tools/sexpr-wasm-prototype`
2727 * `git checkout origin/binary_0xa`
28-* `git submodule update --init`
2928 * `make`
30-* `cd ..`
29+* `cd ../..`
3130 * `npm test`
3231
3332
3433 # API
package.jsonView
@@ -27,9 +27,9 @@
2727 "tape": "^4.5.1"
2828 },
2929 "standard": {
3030 "ignore": [
31- "/sexpr-wasm-prototype/"
31+ "/tools/sexpr-wasm-prototype/"
3232 ],
3333 "globals": [
3434 "Wasm"
3535 ]
tests/interfaceRunner.jsView
@@ -14,9 +14,9 @@
1414 for (let testName of tests) {
1515 testName = testName.split('.')[0]
1616 tape(testName, (t) => {
1717 // Compile Command
18- cp.execSync(`${__dirname}/../../evm-wasm-transcompiler/deps/sexpr-wasm-prototype/out/sexpr-wasm ${dir}/${testName}.wast -o ${dir}/${testName}.wasm`)
18+ cp.execSync(`${__dirname}/../tools/sexpr-wasm-prototype/out/sexpr-wasm ${dir}/${testName}.wast -o ${dir}/${testName}.wasm`)
1919 const buffer = fs.readFileSync(`${dir}/${testName}.wasm`)
2020 const envData = fs.readFileSync(`${dir}/${testName}.json`)
2121 const ethereum = new Kernel(new Environment(envData))
2222
sexpr-wasm-prototypeView
@@ -1,1 +1,0 @@
1-Subproject commit b487574ba29dd85c64be6aa1406b58084b14b8b4
tools/sexpr-wasm-prototype
@@ -1,0 +1,1 @@
1+Subproject commit b487574ba29dd85c64be6aa1406b58084b14b8b4

Built with git-ssb-web