Skip to content

Commit

Permalink
Add precompilation [close #97]
Browse files Browse the repository at this point in the history
  • Loading branch information
tfiers committed Jan 28, 2023
1 parent 5df6d21 commit 12c00e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ version = "0.7.0-dev"
DefaultApplication = "3f0dd361-4fe0-5fc6-8523-80b14ec94d85"
EzXML = "8f5d6c58-4d21-5cfd-889c-e3ad7ee6a615"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
SnoopPrecompile = "66db9d55-30c0-4569-8b51-7e840670fc0c"
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
URIs = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4"
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
Expand Down
4 changes: 4 additions & 0 deletions src/PkgGraph.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,16 @@ using .SVG

using DefaultApplication
using URIs: escapeuri
using SnoopPrecompile
include("includes/deps-as-dot.jl")
include("includes/dotcommand.jl")
include("includes/webapps.jl")
include("includes/enduser.jl")

export depgraph_web, depgraph_image

@precompile_all_calls begin
depgraph_as_dotstr(:DefaultApplication)
end

end # module

0 comments on commit 12c00e7

Please sign in to comment.