Skip to content

Commit 29a0d86

Browse files
reduce the default builds
Does the #267 change
1 parent cfc787b commit 29a0d86

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/SciMLTutorials.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ using Weave, Pkg, IJulia, InteractiveUtils, Markdown
55
repo_directory = joinpath(@__DIR__,"..")
66
cssfile = joinpath(@__DIR__, "..", "templates", "skeleton_css.css")
77
latexfile = joinpath(@__DIR__, "..", "templates", "julia_tex.tpl")
8+
default_builds = (:script,:html,:github)
89

9-
function weave_file(folder,file,build_list=(:script,:html,:pdf,:github,:notebook))
10+
function weave_file(folder,file,build_list=default_builds)
1011
target = joinpath(repo_directory, "tutorials", folder, file)
1112
@info("Weaving $(target)")
1213

@@ -54,14 +55,14 @@ function weave_file(folder,file,build_list=(:script,:html,:pdf,:github,:notebook
5455
end
5556
end
5657

57-
function weave_all(build_list=(:script,:html,:pdf,:github,:notebook))
58+
function weave_all(build_list=default_builds)
5859
for folder in readdir(joinpath(repo_directory,"tutorials"))
5960
folder == "test.jmd" && continue
6061
weave_folder(folder,build_list)
6162
end
6263
end
6364

64-
function weave_folder(folder,build_list=(:script,:html,:pdf,:github,:notebook))
65+
function weave_folder(folder,build_list=default_builds)
6566
for file in readdir(joinpath(repo_directory,"tutorials",folder))
6667
# Skip non-`.jmd` files
6768
if !endswith(file, ".jmd")

0 commit comments

Comments
 (0)