check ENV

This commit is contained in:
Simon Christ 2020-10-02 18:21:11 +02:00
parent 2b42a67b28
commit f1d1cb7f25

View File

@ -77,6 +77,7 @@ function __init__()
end
end
if get(ENV["PLOTS_HOST_DEPENDENCY_LOCAL"], false) == true
artifact_toml = joinpath(@__DIR__, "Artifacts.toml")
plotly_sha = artifact_hash("plotly", artifact_toml)
@ -87,6 +88,8 @@ function __init__()
end
plotly_local_file_path[] = joinpath(artifact_path(plotly_sha), "plotly-1.54.2.min.js")
use_local_plotlyjs[] = true
end
use_local_dependencies[] = use_local_plotlyjs[]