Skip to content

Commit 507765b

Browse files
committed
chore: minor justfile adjustments
1 parent c999ffd commit 507765b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

justfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ ci_mode := if env('CI', '') != '' {'1'} else {''}
1414
binstall_args := if env('CI', '') != '' {'--no-confirm --no-track --disable-telemetry'} else {''}
1515
export RUSTFLAGS := env('RUSTFLAGS', if ci_mode == '1' {'-D warnings'} else {''})
1616
export RUSTDOCFLAGS := env('RUSTDOCFLAGS', if ci_mode == '1' {'-D warnings'} else {''})
17-
export RUST_BACKTRACE := env('RUST_BACKTRACE', if ci_mode == '1' {'1'} else {''})
17+
export RUST_BACKTRACE := env('RUST_BACKTRACE', if ci_mode == '1' {'1'} else {'0'})
1818

1919
@_default:
20-
{{just_executable()}} --list
20+
{{quote(just_executable())}} --list
2121

2222
# Build the project
2323
build:
@@ -60,7 +60,7 @@ docs *args='--open':
6060
env-info:
6161
@echo "Running for '{{main_crate}}' crate {{if ci_mode == '1' {'in CI mode'} else {'in dev mode'} }} on {{os()}} / {{arch()}}"
6262
@echo "PWD $(pwd)"
63-
{{just_executable()}} --version
63+
{{quote(just_executable())}} --version
6464
rustc --version
6565
cargo --version
6666
rustup --version

0 commit comments

Comments
 (0)