|
@@ -918,6 +918,10 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
|
|
cmdline_tool = true;
|
|
|
dump_extension_api = true;
|
|
|
print_line("Dumping Extension API");
|
|
|
+ // Hack. Not needed but otherwise we end up detecting that this should
|
|
|
+ // run the project instead of a cmdline tool.
|
|
|
+ // Needs full refactoring to fix properly.
|
|
|
+ main_args.push_back(I->get());
|
|
|
} else if (I->get() == "--export" || I->get() == "--export-debug" ||
|
|
|
I->get() == "--export-pack") { // Export project
|
|
|
// Actually handling is done in start().
|