From abaf0172dcf817602c82b264c9c3c987cb0dbc1b Mon Sep 17 00:00:00 2001 From: Wei Chen Date: Fri, 8 Jan 2016 11:13:34 -0800 Subject: [PATCH] fix example command to include standard library path --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a257235b0..092fc6e30c 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ Note that you have to clone this project with `--recursive` option, as the core Then compile it with `ocamlscript` ```sh - OCAML_RAW_JS=1 ocamlscript -I . -I ../ -c hello.ml + OCAML_RAW_JS=1 ocamlscript -I . -I ../ -I ../stdlib -c hello.ml ``` It should generate a file called `hello.js`, which can be executed with any JavaScript engine. In this example, we use Node.js