From 4619472a3d05db307d3625ee876201a991d26523 Mon Sep 17 00:00:00 2001 From: Redth Date: Fri, 20 Jul 2018 16:32:49 -0400 Subject: [PATCH] More docs download fixes --- build.cake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.cake b/build.cake index 66c0139b..ad1d4eca 100644 --- a/build.cake +++ b/build.cake @@ -604,12 +604,16 @@ Task ("buildtasks") Task ("droiddocs") .Does (() => { + EnsureDirectoryExists("./externals/"); + if (!FileExists("./externals/docs.zip")) DownloadFile(DOCS_URL, "./externals/docs.zip"); if (DirectoryExists("./docs")) DeleteDirectory("./docs", true); + EnsureDirectoryExists("./docs/"); + Unzip("./externals/docs.zip", "./docs"); EnsureDirectoryExists("./docs/reference/");