mirror of
https://seed.radicle.dev/rad:z4D5UCArafTzTQpDZNQRuqswh3ury.git
synced 2026-10-18 19:10:45 +08:00
Add dev-without-assertions Cargo profile
This commit is contained in:
+6
-1
@@ -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
|
||||
|
||||
@@ -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].
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user