chore: pass options to just runtest
This commit is contained in:
parent
75111d12ed
commit
0fb88cd3b7
1 changed files with 2 additions and 2 deletions
4
justfile
4
justfile
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue