From 0cf81a4421f9a4d267245a3041508b617a01d68d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 28 Dec 2017 01:02:16 +0100 Subject: Add curl get, add packages file --- backend/ninja/Ninja.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'backend/ninja/Ninja.cpp') diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp index 59b0a3a..e290436 100644 --- a/backend/ninja/Ninja.cpp +++ b/backend/ninja/Ninja.cpp @@ -174,6 +174,9 @@ namespace backend printf("Dependency not found in global lib, trying to download from github\n"); // TODO: Download several dependencies at the same time by adding them to a list // and then iterate them and download them all using several threads. + // All dependecies should be downloaded at the same time, this includes dependencies of dependencies. + // If a dependency is missing, fail build BEFORE downloading dependencies and before compiling anything. + // You do not want to possibly wait several minutes only for build to fail when there is no compilation error. // TODO: If return error is invalid url, then the message should be converted to // invalid package name/version. A check should be done if it is the name or version -- cgit v1.2.3