Skip to content

README: Document supported GOOS values. #777

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

Merged
merged 2 commits into from
Mar 17, 2018
Merged

Conversation

dmitshur
Copy link
Member

@dmitshur dmitshur commented Mar 16, 2018

Add instructions for what people should do when building with GopherJS on unsupported platforms. Code generation works completely fine, but syscalls (e.g., for gopherjs run) will only work on supported platforms.

Previously, this information was only in issues, people's heads, commit messages, etc. It should be documented in README to provide clarity.

Rename "OS X" to "macOS", the current name of that operating system. Rearrange sections to place more relevant information first. Mention Linux before macOS consistently. Linux is placed first because it's open source and more freely available than the proprietary macOS, so it's easier to recommend it as an alternative.

Resolves #770.
Updates #776.
Updates #688.

Add instructions for what people should do when building with GopherJS
on unsupported platforms. Code generation works completely fine, but
syscalls (e.g., for gopherjs run) will only work on supported platforms.

Previously, this information was only in issues, people's heads, commit
messages, etc. It should be documented in README to provide clarity.

Rename "OS X" to "macOS", the current name of that operating system.
Rearrange sections to place more relevant information first. Mention
Linux before macOS consistently. Linux is placed first because it's open
source and more freely available than the proprietary macOS, so it's
easier to recommend it as an alternative.

Resolves #770.
Updates #776.
Updates #688.
README.md Outdated
@@ -31,7 +33,7 @@ If you want to use `gopherjs run` or `gopherjs test` to run the generated code l
npm install --global source-map-support
```

For system calls (file system access, etc.), see [this page](https://github.com/gopherjs/gopherjs/blob/master/doc/syscalls.md).
System calls (file system access, etc.) will work only supported `GOOS` platforms (see above). See [doc/syscalls.md](https://github.com/gopherjs/gopherjs/blob/master/doc/syscalls.md) for instructions.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Broken sentence.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spotting that, it was missing a word. I still wasn't happy with it, so I rewrote it completely in order to improve clarity. I think the new version is better.

Previous sentence was missing a word, and didn't sound great.
Copy link
Member

@hajimehoshi hajimehoshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dmitshur
Copy link
Member Author

Thanks for reviewing!

@dmitshur dmitshur changed the title Document supported GOOS values. README: Document supported GOOS values. Mar 17, 2018
@dmitshur dmitshur merged commit 82b3220 into master Mar 17, 2018
@dmitshur dmitshur deleted the doc-supported-GOOS branch March 17, 2018 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants