Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sglyon/PlotlyJS.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
sglyon committed Jun 23, 2018
2 parents 2e66c1c + 4f0c99a commit b4be704
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions deps/build.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
!isdir("../assets") && mkdir("../assets")
const _pkg_root = dirname(dirname(@__FILE__))
const _pkg_deps = joinpath(_pkg_root,"deps")
const _pkg_assets = joinpath(_pkg_root,"assets")

cd(dirname(@__FILE__)) do
download("https://api.plot.ly/v2/plot-schema?sha1", "plotschema.json")
download("https://cdn.plot.ly/plotly-latest.min.js", "../assets/plotly-latest.min.js")
end
!isdir(_pkg_assets) && mkdir(_pkg_assets)

download("https://api.plot.ly/v2/plot-schema?sha1", joinpath(_pkg_deps,"plotschema.json"))
download("https://cdn.plot.ly/plotly-latest.min.js", joinpath(_pkg_assets,"plotly-latest.min.js"))

include("make_schema_docs.jl")
include("find_attr_groups.jl")
Expand Down

0 comments on commit b4be704

Please sign in to comment.