Skip to content

Commit

Permalink
Update Emoji data file
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottPJones committed Feb 6, 2019
1 parent 8678d8a commit cc7b715
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
Binary file modified data/emoji.dat
Binary file not shown.
26 changes: 15 additions & 11 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,19 @@ function make_tables(dpath, ver, fname)
vec16, ind16, vec32, ind32, StrTable(vec2c), ind2c, max2c%UInt32)
end

println("Creating tables")
tup = nothing
try
global tup
tup = make_tables(dpath, vers, inpname)
catch ex
println(sprint(showerror, ex, catch_backtrace()))
end
savfile = joinpath(datapath, fname)
println("Saving tables to ", savfile)
StrTables.save(savfile, tup)
println("Done")
if isfile(savfile)
println("Tables already exist")
else
tup = nothing
println("Creating tables")
try
global tup
tup = make_tables(dpath, vers, inpname)
catch ex
println(sprint(showerror, ex, catch_backtrace()))
end
println("Saving tables to ", savfile)
StrTables.save(savfile, tup)
println("Done")
end

0 comments on commit cc7b715

Please sign in to comment.