* Clean up code: Easier to understand/maintain. Also: Reduce line count for code. Add namespace (module) to use shorter function/variable names. Improve auto-generation of readers/writers for arbitrary structs. Remove a few manually-written readers/writers for simple structs. Write Plots.jl version -> VERSION_INFO to help user identify reader of outdated file formats. Add support for: - Arrow - ColorScheme, ColorPalette - ContinuousColorGradient, CategoricalColorGradient - datetimeformatter * Update precompile_*.jl file Co-authored-by: ma-laforge <ma-laforge@users.noreply.github.com>
77 lines
2.9 KiB
Julia
77 lines
2.9 KiB
Julia
should_precompile = true
|
|
|
|
|
|
# Don't edit the following! Instead change the script for `snoop_bot`.
|
|
ismultios = true
|
|
ismultiversion = true
|
|
# precompile_enclosure
|
|
@static if !should_precompile
|
|
# nothing
|
|
elseif !ismultios && !ismultiversion
|
|
include("../deps/SnoopCompile/precompile/precompile_Plots.jl")
|
|
_precompile_()
|
|
else
|
|
@static if Sys.islinux()
|
|
@static if v"1.3.0-DEV" <= VERSION <= v"1.3.9"
|
|
include("../deps/SnoopCompile/precompile/linux/1.3/precompile_Plots.jl")
|
|
_precompile_()
|
|
elseif v"1.4.0-DEV" <= VERSION <= v"1.4.9"
|
|
include("../deps/SnoopCompile/precompile/linux/1.4/precompile_Plots.jl")
|
|
_precompile_()
|
|
elseif v"1.5.0-DEV" <= VERSION <= v"1.5.9"
|
|
include("../deps/SnoopCompile/precompile/linux/1.5/precompile_Plots.jl")
|
|
_precompile_()
|
|
else
|
|
include("../deps/SnoopCompile/precompile/linux/1.4/precompile_Plots.jl")
|
|
_precompile_()
|
|
end
|
|
|
|
elseif Sys.iswindows()
|
|
@static if v"1.3.0-DEV" <= VERSION <= v"1.3.9"
|
|
include("../deps/SnoopCompile/precompile/windows/1.3/precompile_Plots.jl")
|
|
_precompile_()
|
|
elseif v"1.4.0-DEV" <= VERSION <= v"1.4.9"
|
|
include("../deps/SnoopCompile/precompile/windows/1.4/precompile_Plots.jl")
|
|
_precompile_()
|
|
elseif v"1.5.0-DEV" <= VERSION <= v"1.5.9"
|
|
include("../deps/SnoopCompile/precompile/windows/1.5/precompile_Plots.jl")
|
|
_precompile_()
|
|
else
|
|
include("../deps/SnoopCompile/precompile/windows/1.4/precompile_Plots.jl")
|
|
_precompile_()
|
|
end
|
|
|
|
elseif Sys.isapple()
|
|
@static if v"1.3.0-DEV" <= VERSION <= v"1.3.9"
|
|
include("../deps/SnoopCompile/precompile/apple/1.3/precompile_Plots.jl")
|
|
_precompile_()
|
|
elseif v"1.4.0-DEV" <= VERSION <= v"1.4.9"
|
|
include("../deps/SnoopCompile/precompile/apple/1.4/precompile_Plots.jl")
|
|
_precompile_()
|
|
elseif v"1.5.0-DEV" <= VERSION <= v"1.5.9"
|
|
include("../deps/SnoopCompile/precompile/apple/1.5/precompile_Plots.jl")
|
|
_precompile_()
|
|
else
|
|
include("../deps/SnoopCompile/precompile/apple/1.4/precompile_Plots.jl")
|
|
_precompile_()
|
|
end
|
|
|
|
else
|
|
@static if v"1.3.0-DEV" <= VERSION <= v"1.3.9"
|
|
include("../deps/SnoopCompile/precompile/linux/1.3/precompile_Plots.jl")
|
|
_precompile_()
|
|
elseif v"1.4.0-DEV" <= VERSION <= v"1.4.9"
|
|
include("../deps/SnoopCompile/precompile/linux/1.4/precompile_Plots.jl")
|
|
_precompile_()
|
|
elseif v"1.5.0-DEV" <= VERSION <= v"1.5.9"
|
|
include("../deps/SnoopCompile/precompile/linux/1.5/precompile_Plots.jl")
|
|
_precompile_()
|
|
else
|
|
include("../deps/SnoopCompile/precompile/linux/1.4/precompile_Plots.jl")
|
|
_precompile_()
|
|
end
|
|
|
|
end
|
|
|
|
end # precompile_enclosure
|