From 9b15533350d9e2d5fbca32b13366693c3cde9fea Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sun, 16 Jul 2023 20:20:09 -0400 Subject: [PATCH] Update SciMLBenchmarks.jl --- src/SciMLBenchmarks.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SciMLBenchmarks.jl b/src/SciMLBenchmarks.jl index 036ba1d4d..ae8f3c42b 100644 --- a/src/SciMLBenchmarks.jl +++ b/src/SciMLBenchmarks.jl @@ -52,14 +52,14 @@ function weave_file(folder,file,build_list=(:script,:github)) end end -function weave_all() +function weave_all(build_list=(:script,:github)) for folder in readdir(joinpath(repo_directory,"benchmarks")) folder == "test.jmd" && continue weave_folder(joinpath(repo_directory,"benchmarks",folder),build_list) end end -function weave_folder(folder) +function weave_folder(folder, build_list=(:script,:github)) for file in readdir(folder) # Skip non-`.jmd` files if !endswith(file, ".jmd") @@ -67,7 +67,7 @@ function weave_folder(folder) end try - weave_file(folder, file) + weave_file(folder, file, build_list) catch e @show folder, file @error(e)