diff --git a/benchmarks/your_benchmark/Snakefile b/benchmarks/your_benchmark/Snakefile index 083e49f092b01f8b45f548ed66de7b7449f9ee68..e4fac35cac64f76a08448924d5c18d621a2a4e08 100644 --- a/benchmarks/your_benchmark/Snakefile +++ b/benchmarks/your_benchmark/Snakefile @@ -69,3 +69,18 @@ else fi root -l -b -q '{input.script}("{input.plots}")' """ + +rule yourbench_compile_manual: + input: + tar=HTTPRemoteProvider().remote("https://github.com/tectonic-typesetting/tectonic/releases/download/tectonic%400.15.0/tectonic-0.15.0-x86_64-unknown-linux-musl.tar.gz"), + cls=workflow.source_path("bench.cls"), + tex=workflow.source_path("bench.tex"), + output: + temp("tectonic"), + cls_tmp=temp("bench.cls"), + pdf="results/bench.pdf", + shell: """ +tar zxf {input.tar} +cp {input.cls} {output.cls_tmp} # copy to local directory +./tectonic {input.tex} --outdir="$(dirname {output.pdf})" +"""