Skip to content

Commit

Permalink
Update SciMLBenchmarks.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Jul 17, 2023
1 parent 5a41950 commit 9b15533
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/SciMLBenchmarks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,22 @@ 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")
continue
end

try
weave_file(folder, file)
weave_file(folder, file, build_list)
catch e
@show folder, file
@error(e)
Expand Down

0 comments on commit 9b15533

Please sign in to comment.