Add a dash to tempdir prefix (#1828)
This commit is contained in:
parent
87e368aa2d
commit
cf57613da7
6
justfile
6
justfile
@ -10,6 +10,9 @@ log := "warn"
|
||||
|
||||
export JUST_LOG := log
|
||||
|
||||
watch +args='test':
|
||||
cargo watch --clear --exec '{{ args }}'
|
||||
|
||||
test:
|
||||
cargo test
|
||||
|
||||
@ -36,9 +39,6 @@ build:
|
||||
fmt:
|
||||
cargo fmt --all
|
||||
|
||||
watch +COMMAND='test':
|
||||
cargo watch --clear --exec "{{COMMAND}}"
|
||||
|
||||
man:
|
||||
cargo build --features help4help2man
|
||||
help2man \
|
||||
|
@ -306,7 +306,7 @@ impl<'src, D> Recipe<'src, D> {
|
||||
})?;
|
||||
|
||||
let mut tempdir_builder = tempfile::Builder::new();
|
||||
tempdir_builder.prefix("just");
|
||||
tempdir_builder.prefix("just-");
|
||||
let tempdir = match &context.settings.tempdir {
|
||||
Some(tempdir) => tempdir_builder.tempdir_in(context.search.working_directory.join(tempdir)),
|
||||
None => tempdir_builder.tempdir(),
|
||||
|
Loading…
Reference in New Issue
Block a user