Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
More docs download fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Redth committed Jul 20, 2018
1 parent 0eb2996 commit 4619472
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.cake
Expand Up @@ -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/");
Expand Down

0 comments on commit 4619472

Please sign in to comment.