build: production profile, justfile adjustments
This commit is contained in:
+4
-2
@@ -55,12 +55,14 @@ debug-assertions = true
|
|||||||
overflow-checks = true
|
overflow-checks = true
|
||||||
lto = false
|
lto = false
|
||||||
panic = "unwind"
|
panic = "unwind"
|
||||||
codegen-units = 1
|
incremental = true
|
||||||
|
|
||||||
[profile.release-lto]
|
[profile.production]
|
||||||
inherits = "release"
|
inherits = "release"
|
||||||
debug = false
|
debug = false
|
||||||
strip = true
|
strip = true
|
||||||
debug-assertions = false
|
debug-assertions = false
|
||||||
overflow-checks = false
|
overflow-checks = false
|
||||||
lto = true
|
lto = true
|
||||||
|
incremental = false
|
||||||
|
codegen-units = 1
|
||||||
|
|||||||
@@ -2,14 +2,18 @@ export RUSTFLAGS := "-C target-cpu=native"
|
|||||||
export WEBKIT_DISABLE_COMPOSITING_MODE := "1"
|
export WEBKIT_DISABLE_COMPOSITING_MODE := "1"
|
||||||
export DOCKER_CONFIG := env_var_or_default("DOCKER_CONFIG", ".lanspread-peer-cli/docker-config")
|
export DOCKER_CONFIG := env_var_or_default("DOCKER_CONFIG", ".lanspread-peer-cli/docker-config")
|
||||||
|
|
||||||
build:
|
|
||||||
cargo tauri build --no-bundle -- --profile dev
|
|
||||||
|
|
||||||
run:
|
run:
|
||||||
cargo tauri dev
|
cargo tauri dev --release
|
||||||
|
|
||||||
|
build:
|
||||||
|
cargo tauri build --no-bundle #-- --profile dev
|
||||||
|
|
||||||
|
bundle:
|
||||||
|
cargo tauri build -- --profile production
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
cargo +nightly fmt
|
cargo +nightly fmt
|
||||||
|
just --fmt
|
||||||
|
|
||||||
_fix:
|
_fix:
|
||||||
cargo fix
|
cargo fix
|
||||||
|
|||||||
Reference in New Issue
Block a user