Radish alpha
r
rad:z4D5UCArafTzTQpDZNQRuqswh3ury
Radicle desktop app
Radicle
Git
Add dev-without-assertions Cargo profile
Rūdolfs Ošiņš committed 1 month ago
commit 743cc517572552e785ecb53ad7eee3dd7493ebd4
parent cf40e86
3 files changed +15 -1
modified Cargo.toml
@@ -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
modified README.md
@@ -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].
modified package.json
@@ -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",