From 7a483ac5f0e483dd9dff2a22ee4f0480ab75f039 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 2 Oct 2018 18:56:55 +0200 Subject: Print package progress --- src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 6f54ba5..f33b1f6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -84,6 +84,8 @@ using namespace std::chrono; // TODO: Verify paths (test path, ignore dirs, include dirs, expose include dir, sibs test --file dir) are sub directory of the project +// TODO: When creating a package with `sibs package` copy LICENSE files into archive. + #if OS_FAMILY == OS_FAMILY_POSIX #define fout std::cout #define ferr std::cerr @@ -1086,7 +1088,7 @@ static int packageProject(int argc, const _tinydir_char_t **argv) string packagePath = toUtf8(projectPath + TINYDIR_STRING("/sibs-build/package")); string executablePath = toUtf8(projectPath + TINYDIR_STRING("/sibs-build/release/") + sibsConfig.getPackageName()); FileString cmd = "python3 \"" + packageScriptPath + "\" \"" + executablePath + "\" \"" + packagePath + "\""; - Result bundleResult = exec(cmd.c_str()); + Result bundleResult = exec(cmd.c_str(), true); if(!bundleResult) { fprintf(stderr, "Error: failed to package project as a bundle, reason: %s\n", bundleResult.getErrMsg().c_str()); -- cgit v1.2.3