Skip to content

Commit

Permalink
Precompile the entrypoints
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Jul 20, 2024
1 parent bdbe60e commit 22aeb03
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Runic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -415,4 +415,9 @@ end
include("runestone.jl")
include("main.jl")

# Precompile the entry points
@assert precompile(main, (Vector{String},))
@assert precompile(format_file, (String, String))
@assert precompile(format_string, (String,))

end # module

0 comments on commit 22aeb03

Please sign in to comment.