mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2025-12-11 20:15:30 +01:00
Update setup instructions for Cargo config generation
Clarified the process for generating .cargo/config.toml using `cargo run -p xtask -- setup` in both .cargo/README.md and README.md. Updated documentation to reflect the new setup command and its purpose.
This commit is contained in:
parent
51fa853f63
commit
94c4b3d11e
@ -1,3 +1,9 @@
|
|||||||
## Attention
|
## Cargo Config
|
||||||
|
|
||||||
Make sure to execute the `setup-system` script after any modification to `cargo.toml`.
|
The `config.toml` file is generated from `config.toml.mustache` by running:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cargo run -p xtask -- setup
|
||||||
|
```
|
||||||
|
|
||||||
|
This file is gitignored because it contains machine-specific paths. After setup, you can use `cargo xtask` for subsequent commands.
|
||||||
|
|||||||
@ -223,8 +223,7 @@ cd spacedrive
|
|||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
bun install
|
bun install
|
||||||
cargo install cargo-xtask # (if not already installed)
|
cargo run -p xtask -- setup # generates .cargo/config.toml with aliases
|
||||||
cargo xtask setup
|
|
||||||
|
|
||||||
# Run the desktop app (automatically starts daemon)
|
# Run the desktop app (automatically starts daemon)
|
||||||
cd apps/tauri
|
cd apps/tauri
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user