-
Notifications
You must be signed in to change notification settings - Fork 285
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
create-neon README #697
create-neon README #697
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! I have some minor suggestions; let me know what you think.
You can build the project with npm. In the project directory, run: | ||
|
||
```sh | ||
$ npm install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would call this installing and not building. Building can be documented as npm run build
. In many cases, users will want to run npm run build
instead of npm install
because it will be more efficient. npm install
needs to check the dependency tree and potentially install updates.
### `npm test` | ||
|
||
Runs the unit tests by calling `cargo test`. You can learn more about [adding tests to your Rust code](https://doc.rust-lang.org/book/ch11-01-writing-tests.html) from the [Rust book](https://doc.rust-lang.org/book/). | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add npm run build
? In this section, can you also explain what cargo-cp-artifact
does?
|
||
### index.node | ||
|
||
The binary module generated by building the project. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a bit explaining that this is a C dynamic shared library generated by cargo
and that it's a copy of the file in target/
?
Great feedback, @kjvalencik, thank you. 👍 Ready for re-review! |
Project README and more content for the generated README.
Closes #695.