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

Fix command for native compile in gradle-plugin-quickstart.adoc #633

Closed
wants to merge 1 commit 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
2 changes: 1 addition & 1 deletion docs/src/docs/asciidoc/gradle-plugin-quickstart.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ graalvmNative {
+
[source,shell]
----
./gradlew nativeRun
./gradlew nativeCompile
Copy link
Member

@olyagpl olyagpl Nov 4, 2024

Choose a reason for hiding this comment

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

The nativeCompile task indeed matches the step description "Compile the project and build a native executable at one step", while nativeRun compiles, builds, and runs the native executable.

Copy link
Member

Choose a reason for hiding this comment

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

We actually plan refactoring of quick start guides to improve the user experience (already in progress). This correction would have been considered too.

----
+
The native executable, named _fortune_, is created in the _/fortune/build/native/nativeCompile_ directory.
Expand Down