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

[feat] Split bundle and build steps in tauri cli #8734

Closed
thewh1teagle opened this issue Feb 2, 2024 · 1 comment · Fixed by #9734
Closed

[feat] Split bundle and build steps in tauri cli #8734

thewh1teagle opened this issue Feb 2, 2024 · 1 comment · Fixed by #9734

Comments

@thewh1teagle
Copy link
Contributor

Describe the problem

Please split the bundling and building commands in tauri-cli into two steps so it will be more flexible.
I saw that you have beforeBundleCommand but I think that it's better to split them complely,
even the beforeBuild

Or at least provide a way to execute only single step

Describe the solution you'd like

.

Alternatives considered

.

Additional context

No response

@jacobgorm
Copy link

I agree, this should be two steps, because

  • in docker builds, it is very slow to debug bundling problems, because you cannot cache the result of the rest of the build
  • the signing step should be done separately and ideally in an airgapped environment, and only by completely trusted tools like signtool.exe, to avoid supply chain attacks from crates.io.

amrbashir added a commit that referenced this issue May 9, 2024
lucasfernog added a commit that referenced this issue May 25, 2024
* feat(cli): add `tauri bundle` subcommand

closes #8734

* license header

* log application path after building

* fix no-bundle check

* typo

* enhance error with deep causes

---------

Co-authored-by: Lucas Nogueira <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants