Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: added a quick "Hello World" example in README #850

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 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)"
```

### `Intl` (ECMA-402) support:

[Intl](https://github.com/joyent/node/wiki/Intl) support is not
Expand Down Expand Up @@ -239,6 +251,7 @@ as `deps/icu` (You'll have: `deps/icu/source/...`)
> vcbuild full-icu
```


## Resources for Newcomers

* [CONTRIBUTING.md](./CONTRIBUTING.md)
Expand Down