Skip to content

Commit f6d8af0

Browse files
committed
Update HTML data file
1 parent 72c3c1b commit f6d8af0

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

data/html.dat

1 Byte
Binary file not shown.

deps/build.jl

+15-11
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,19 @@ function make_tables()
8484
vec16, ind16, vec32, ind32, vec2c, ind2c)
8585
end
8686

87-
println("Creating tables")
88-
tup = nothing
89-
try
90-
global tup
91-
tup = make_tables()
92-
catch ex
93-
println(sprint(showerror, ex, catch_backtrace()))
94-
end
9587
savfile = joinpath(datapath, fname)
96-
println("Saving tables to ", savfile)
97-
StrTables.save(savfile, tup)
98-
println("Done")
88+
if isfile(savfile)
89+
println("Tables already exist")
90+
else
91+
println("Creating tables")
92+
tup = nothing
93+
try
94+
global tup
95+
tup = make_tables()
96+
catch ex
97+
println(sprint(showerror, ex, catch_backtrace()))
98+
end
99+
println("Saving tables to ", savfile)
100+
StrTables.save(savfile, tup)
101+
println("Done")
102+
end

0 commit comments

Comments
 (0)