aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2017-12-09 17:27:08 +0100
committerdec05eba <dec05eba@protonmail.com>2017-12-09 17:28:43 +0100
commit2ed7d0b09caa872e44e2eb09b09b2387e93f9b34 (patch)
tree2abb2aeab1cdb679a79f82ef686b0ecbba1ae281 /src
parente7384a7672e4449bc194ca3ec66cdd4fcc63801e (diff)
Add project compilation after ninja file is created
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 9f14c67..05a6a03 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -190,5 +190,11 @@ int main(int argc, const char **argv)
exit(7);
}
+ Result<bool> buildResult = ninja.build(debugBuildPath.c_str());
+ if(buildResult.isErr())
+ {
+ exit(8);
+ }
+
return 0;
} \ No newline at end of file