diff --git a/justfile b/justfile index 6b057fe9..2ce7833b 100755 --- a/justfile +++ b/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 \ diff --git a/src/recipe.rs b/src/recipe.rs index 01aa273f..30e9d9ed 100644 --- a/src/recipe.rs +++ b/src/recipe.rs @@ -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(),