From 54d5437566713beb05ad93775d97c21bc6200b66 Mon Sep 17 00:00:00 2001 From: Jimmy Hsu Date: Sun, 15 Feb 2015 18:56:24 -0800 Subject: [PATCH] doc: Added sample command to test iojs build PR-URL: https://github.com/nodejs/io.js/pull/850 Reviewed-By: Stephen Belanger --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 3575b7b2ed4fd8..f46d286ce5f50c 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,12 @@ To read the documentation: $ man doc/iojs.1 ``` +To test if io.js was built correctly: + +``` +$ iojs -e "console.log('Hello from io.js ' + process.version)" +``` + ### Windows Prerequisites: @@ -140,6 +146,12 @@ To run the tests: > vcbuild test ``` +To test if io.js was built correctly: + +``` +$ iojs -e "console.log('Hello from io.js ' + process.version)" +``` + ### Android / Android based devices, aka. Firefox OS Be sure you have downloaded and extracted [Android NDK]