From 7e49cc3fc64c874cb6224aab93cac5eda199efed Mon Sep 17 00:00:00 2001 From: Jimmy Hsu Date: Sat, 14 Feb 2015 17:46:01 -0800 Subject: [PATCH 1/4] Added a quick "Hello World" example to README.md New code added to help completely new users test if their build-from-source is working correctly. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 4569bd855c8a93..2e533f19e073f2 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,11 @@ the binary verification command above. ## Build +To quickly test that io.js was built correctly from any of the steps below: +``` +$ iojs -e "console.log('Hello, world')" +``` + ### Unix / Macintosh Prerequisites: From 493ff681bc5fcf5dd2fa57f30ee7934182082e32 Mon Sep 17 00:00:00 2001 From: Jimmy Hsu Date: Sun, 15 Feb 2015 10:57:10 -0800 Subject: [PATCH 2/4] Moved quick "Hello World" test to bottom --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2e533f19e073f2..853bdf0d63adee 100644 --- a/README.md +++ b/README.md @@ -75,11 +75,6 @@ the binary verification command above. ## Build -To quickly test that io.js was built correctly from any of the steps below: -``` -$ iojs -e "console.log('Hello, world')" -``` - ### Unix / Macintosh Prerequisites: @@ -244,6 +239,13 @@ as `deps/icu` (You'll have: `deps/icu/source/...`) > vcbuild full-icu ``` +### Testing + +To quickly test that io.js was built correctly from any of the steps above: +``` +$ iojs -e "console.log('Hello, world')" +``` + ## Resources for Newcomers * [CONTRIBUTING.md](./CONTRIBUTING.md) From 028048db108d9f9cebdd25c6a70dd9fbd6775bca Mon Sep 17 00:00:00 2001 From: Jimmy Hsu Date: Sun, 15 Feb 2015 18:56:24 -0800 Subject: [PATCH 3/4] Moved tests into OSX/Unix and Windows sections --- README.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 853bdf0d63adee..ece16f50f6d510 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,12 @@ To read the documentation: $ man doc/iojs.1 ``` +To quickly test that io.js was built correctly from any of the steps above: + +``` +$ iojs -e "console.log('Hello from io.js ' + process.version)" +``` + ### Windows Prerequisites: @@ -140,6 +146,12 @@ To run the tests: > vcbuild test ``` +To quickly test that io.js was built correctly from any of the steps above: + +``` +> iojs -e "console.log('Hello from io.js ' + process.version)" +``` + ### `Intl` (ECMA-402) support: [Intl](https://github.com/joyent/node/wiki/Intl) support is not @@ -239,12 +251,6 @@ as `deps/icu` (You'll have: `deps/icu/source/...`) > vcbuild full-icu ``` -### Testing - -To quickly test that io.js was built correctly from any of the steps above: -``` -$ iojs -e "console.log('Hello, world')" -``` ## Resources for Newcomers From f2a13a8994336be72ee7e20fbd14c7ee761b3976 Mon Sep 17 00:00:00 2001 From: Jimmy Hsu Date: Sun, 15 Feb 2015 19:00:13 -0800 Subject: [PATCH 4/4] Shortened unnecessarily long wording for tests --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ece16f50f6d510..111873f32b734b 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ To read the documentation: $ man doc/iojs.1 ``` -To quickly test that io.js was built correctly from any of the steps above: +To test if io.js was built correctly: ``` $ iojs -e "console.log('Hello from io.js ' + process.version)" @@ -146,7 +146,7 @@ To run the tests: > vcbuild test ``` -To quickly test that io.js was built correctly from any of the steps above: +To test if io.js was built correctly: ``` > iojs -e "console.log('Hello from io.js ' + process.version)"