Skip to content

Commit 55ddaec

Browse files
chore: update clear command in package.json and change clear binary to example in Cargo.toml
- Modified the clear command in package.json to remove the dev-bin feature flag. - Changed the clear binary definition to an example in Cargo.toml, reflecting the updated project structure.
1 parent a00d374 commit 55ddaec

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

apps/desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"preview": "vite preview",
1010
"tauri": "tauri",
1111
"lint": "biome check .",
12-
"clear": "cargo run --bin clear --manifest-path ./src-tauri/Cargo.toml --features dev-bin"
12+
"clear": "cargo run --example clear --manifest-path ./src-tauri/Cargo.toml"
1313
},
1414
"dependencies": {
1515
"@phosphor-icons/react": "^2.1.10",

apps/desktop/src-tauri/Cargo.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,9 @@ crate-type = ["staticlib", "cdylib", "rlib"]
1414
name = "minify"
1515
path = "src/main.rs"
1616

17-
[[bin]]
17+
[[example]]
1818
name = "clear"
1919
path = "src/bin/clear.rs"
20-
required-features = ["dev-bin"]
21-
22-
[features]
23-
default = []
24-
dev-bin = []
2520

2621
[build-dependencies]
2722
tauri-build = { version = "2.0", features = [] }

0 commit comments

Comments
 (0)