Planar.jl
1 module Planar 2 3 if get(ENV, "JULIA_NOPRECOMP", "") == "all" 4 __init__() = begin 5 entrypath = joinpath(@__DIR__, "module.jl") 6 @eval begin 7 isdefined(Main, :Revise) && Main.Revise.track($entrypath) 8 include($entrypath) 9 _doinit() 10 end 11 end 12 else 13 occursin(string(@__MODULE__), get(ENV, "JULIA_NOPRECOMP", "")) && __precompile__(false) 14 include(joinpath(@__DIR__, "module.jl")) 15 __init__() = _doinit() 16 include(joinpath(@__DIR__, "precompile.jl")) 17 end 18 19 end # module