/ StrategyTools / src / StrategyTools.jl
StrategyTools.jl
 1  module StrategyTools
 2  
 3  let entry_path = joinpath(@__DIR__, "module.jl")
 4      if get(ENV, "JULIA_NOPRECOMP", "") == "all"
 5          @eval __init__() = begin
 6              @eval include($entry_path)
 7          end
 8      else
 9          occursin(string(@__MODULE__), get(ENV, "JULIA_NOPRECOMP", "")) &&
10              __precompile__(false)
11          include(entry_path)
12          if occursin(string(@__MODULE__), get(ENV, "JULIA_PRECOMP", ""))
13              include("precompile.jl")
14          end
15      end
16  end
17  
18  end # module LiveMode