chore: pass options to just runtest

This commit is contained in:
Jesús Pérex 2025-05-26 19:13:46 +01:00
parent 75111d12ed
commit 0fb88cd3b7

View File

@ -256,12 +256,12 @@ expand *ARGS:
benchmark *ARGS: benchmark *ARGS:
cargo bench {{ARGS}} cargo bench {{ARGS}}
runtest: runtest *ARGS:
@cd {{justfile_directory()}} && if test -d "test/documents" ; then \ @cd {{justfile_directory()}} && if test -d "test/documents" ; then \
rm -rf "test/documents"; \ rm -rf "test/documents"; \
fi fi
@cd {{justfile_directory()}} && if test -r {{RUN_SRC}} ; then \ @cd {{justfile_directory()}} && if test -r {{RUN_SRC}} ; then \
./{{RUN_SRC}}; \ ./{{RUN_SRC}} {{ARGS}}; \
fi fi
run *ARGS: run *ARGS: