Skip to content

Commit

Permalink
doc: Added sample command to test iojs build
Browse files Browse the repository at this point in the history
PR-URL: #850
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
  • Loading branch information
jimmyhsu authored and Stephen Belanger committed Jun 25, 2015
1 parent f1f1b7e commit 54d5437
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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]
Expand Down

0 comments on commit 54d5437

Please sign in to comment.