summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-10-29 13:42:31 -0700
committerAlon Zakai <alonzakai@gmail.com>2015-10-29 13:42:31 -0700
commit1c10dce09bd5cd5596f71e398c3924bd26a10901 (patch)
tree0bd9f5374bb767986349fbfc268975962ba4f23a
parentded68e787b5cfa2cf50f6598354003e40ae92e18 (diff)
downloadbinaryen-1c10dce09bd5cd5596f71e398c3924bd26a10901.tar.gz
binaryen-1c10dce09bd5cd5596f71e398c3924bd26a10901.tar.bz2
binaryen-1c10dce09bd5cd5596f71e398c3924bd26a10901.zip
add example image
-rw-r--r--README.md4
-rw-r--r--media/example.pngbin0 -> 33974 bytes
2 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 25c401fad..82de7e093 100644
--- a/README.md
+++ b/README.md
@@ -26,6 +26,10 @@ For example, try
$ bin/asm2wasm test/hello_world.asm.js
```
+You should see something like this:
+
+![example output](https://raw.github.com/WebAssembly/wasm-emscripten/master/media/example.png)
+
On Linux and Mac you should see pretty colors. Set `COLORS=0` in the env to disable colors if you prefer that. Set `COLORS=1` in the env to force colors (useful when piping to `more`, for example).
Set `ASM2WASM_DEBUG=1` in the env to see debug info, about asm.js nodes as they are parsed, etc.
diff --git a/media/example.png b/media/example.png
new file mode 100644
index 000000000..e84cc8b59
--- /dev/null
+++ b/media/example.png
Binary files differ