Add dev-without-assertions Cargo profile

This commit is contained in:
Rūdolfs Ošiņš
2026-03-23 15:45:14 -06:00
parent cf40e86a8e
commit 743cc51757
3 changed files with 15 additions and 1 deletions
+6 -1
View File
@@ -1,8 +1,13 @@
[workspace]
resolver = "1"
members = [
members = [
"crates/radicle-tauri",
"crates/radicle-types",
"crates/test-http-api",
]
# Same as `dev` but with debug_assertions disabled.
[profile.dev-without-assertions]
inherits = "dev"
debug-assertions = false
+8
View File
@@ -48,6 +48,14 @@ npm run tauri build
Then run one of the builds that the script outputs at the end.
## Development
To start the app in development mode with hot reload:
```
npm run dev
```
## Getting in touch
To get in touch with the maintainers, sign up to our [official chat on Zulip][zul].
+1
View File
@@ -6,6 +6,7 @@
"type": "module",
"scripts": {
"start": "vite",
"dev": "npx tauri dev -- --profile dev-without-assertions",
"start:http": "cargo run --manifest-path ./crates/test-http-api/Cargo.toml",
"build": "vite build && scripts/copy-katex-assets && scripts/install-twemoji-assets",
"build:http": "cargo build --manifest-path ./crates/test-http-api/Cargo.toml",