Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions .changes/clarify-init-frontend-command-prompts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": "patch:enhance"
"@tauri-apps/cli": "patch:enhance"
---

Clarify that the `tauri init` frontend commands run before `tauri dev` and `tauri build`, and can be left empty when they are not needed.
4 changes: 2 additions & 2 deletions crates/tauri-cli/src/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ impl Options {
.map(|s| Ok(Some(s)))
.unwrap_or_else(|| {
prompts::input(
"What is your frontend dev command?",
"What command should Tauri run before `tauri dev` to start your frontend? (leave empty if not needed)",
Some(default_dev_command(detected_package_manager).into()),
self.ci,
true,
Expand All @@ -154,7 +154,7 @@ impl Options {
.map(|s| Ok(Some(s)))
.unwrap_or_else(|| {
prompts::input(
"What is your frontend build command?",
"What command should Tauri run before `tauri build` to build your frontend? (leave empty if not needed)",
Some(default_build_command(detected_package_manager).into()),
self.ci,
true,
Expand Down
Loading