Skip to content

Add a command to build a binary of a Quarkus app#341

Merged
datho7561 merged 1 commit intoredhat-developer:masterfrom
datho7561:335-more-tasks
Jul 9, 2021
Merged

Add a command to build a binary of a Quarkus app#341
datho7561 merged 1 commit intoredhat-developer:masterfrom
datho7561:335-more-tasks

Conversation

@datho7561
Copy link
Copy Markdown
Contributor

  • Adds a command that generates, then executes a tasks.json task that builds a binary
    • After you have used the command once, you can build a binary either through the command or <Ctrl>+<Shift>+B > Quarkus: Generate a binary
  • The command checks to make sure GRAALVM_HOME is set before building the binary, and provides a link to the Quarkus docs if it's not set up.

This PR addresses one aspect of #335

Signed-off-by: David Thompson davthomp@redhat.com

Comment thread src/wizards/debugging/TaskCreator.ts Outdated
@datho7561
Copy link
Copy Markdown
Contributor Author

datho7561 commented Mar 19, 2021

Demo: https://youtu.be/5WgSg_FzzN8 Sorry, didn't realize that I put the wrong clip in the demo video

New Demo: https://youtu.be/qleIxqrqbLs

@datho7561
Copy link
Copy Markdown
Contributor Author

I rebased this PR and added a section about collecting telemetry when the command is run.

Copy link
Copy Markdown
Member

@rgrunber rgrunber left a comment

Choose a reason for hiding this comment

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

Seems to be working pretty well. Just ran into a small issue, and maybe we could have better support for other environment variables.

Comment thread USAGE_DATA.md Outdated
Comment thread src/wizards/binary/buildBinary.ts Outdated
Comment thread src/wizards/binary/buildBinary.ts Outdated
@datho7561 datho7561 force-pushed the 335-more-tasks branch 2 times, most recently from 9ecc486 to 78a2edf Compare July 8, 2021 20:34
@datho7561 datho7561 requested a review from rgrunber July 8, 2021 20:35
Copy link
Copy Markdown
Member

@rgrunber rgrunber left a comment

Choose a reason for hiding this comment

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

I think just updating the README with the new command.

* Adds a command that generates, then executes
   a `tasks.json` task that builds a binary
   * After you have used the command once, you can
      build a binary either through the command or
      `<Ctrl>+<Shift>+B` > Quarkus: Generate a binary
* The command checks to make sure GRAALVM_HOME is set before
   building the binary, and provides a link to the Quarkus docs if
   it's not set up.

This PR addresses one aspect of redhat-developer#335

Signed-off-by: David Thompson <davthomp@redhat.com>
Copy link
Copy Markdown
Member

@rgrunber rgrunber left a comment

Choose a reason for hiding this comment

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

Change looks good. I think it should be fine to merge.

@datho7561 datho7561 added this to the 1.9.0 milestone Jul 9, 2021
@datho7561 datho7561 merged commit 46b180e into redhat-developer:master Jul 9, 2021
@datho7561 datho7561 deleted the 335-more-tasks branch July 9, 2021 20:16
@datho7561 datho7561 added the enhancement New feature or request label Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants