check ENV
This commit is contained in:
parent
8f1af5b49b
commit
7d84528851
@ -76,6 +76,7 @@ function __init__()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if get(ENV["PLOTS_HOST_DEPENDENCY_LOCAL"], false) == true
|
||||||
artifact_toml = joinpath(@__DIR__, "Artifacts.toml")
|
artifact_toml = joinpath(@__DIR__, "Artifacts.toml")
|
||||||
|
|
||||||
plotly_sha = artifact_hash("plotly", artifact_toml)
|
plotly_sha = artifact_hash("plotly", artifact_toml)
|
||||||
@ -86,6 +87,8 @@ function __init__()
|
|||||||
end
|
end
|
||||||
|
|
||||||
plotly_local_file_path[] = joinpath(artifact_path(plotly_sha), "plotly-1.54.2.min.js")
|
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[]
|
use_local_dependencies[] = use_local_plotlyjs[]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user