Files
archived-tauri-docs/docs/usage/development/publishing.md
2020-07-13 15:28:21 +02:00

1.3 KiB

title, sidebar_label
title sidebar_label
App Publishing App Publishing (4/4)

import Alert from '@theme/Alert' import Command from '@theme/Command'

1. Build Your Web App

Now that you are ready to package your project, you will need to run your framework's or bundler's build command (assuming you're using one, of course).

Every framework has its own publishing tooling. It is outside of the scope of this document to treat them all or keep them up to date.

2. Tauri Bundler

Make certain that you have installed that Tauri bundler:

cargo tauri-bundler -v

If you do not see a version number being reported, then you must install the bundler:

cargo install tauri-bundler
We chose to call this bundler "tauri-bundler" because in the near future we will be providing a Rust-only entry point to Tauri.

3. Bundle your application with Tauri

Like the dev window, the first time you run this, it will take some time to collect the Rust crates and build everything - but on subsequent runs it will only need to rebuild the Tauri crates which is much quicker.

Because of the way that Cargo builds its targets, the final app is placed in the following folder:

src-tauri/target/release/bundle