doc: Added sample command to test iojs build
authorJimmy Hsu <jimmyhsu@users.noreply.github.com>
Mon, 16 Feb 2015 02:56:24 +0000 (18:56 -0800)
committerStephen Belanger <sbelanger@appneta.com>
Thu, 25 Jun 2015 00:26:09 +0000 (17:26 -0700)
PR-URL: https://github.com/nodejs/io.js/pull/850
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
README.md

index 3575b7b..f46d286 100644 (file)
--- 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]