mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
Make scriptability a CAF-feature
This commit is contained in:
1 parent
5473fa64d5
commit
b2f55a3101
55 files changed
+974
-489
No files matched your search
@@ -137,7 +137,12 @@ RiaApplication::ApplicationStatus RiaConsoleApplication::handleArguments( cvf::P
|
||||
CVF_ASSERT( o.valueCount() == 1 );
|
||||
QString outputFile = cvfqt::Utils::toQString( o.value( 0 ) );
|
||||
|
||||
RiaApplication::generatePythonClasses( outputFile );
|
||||
QString errMsg;
|
||||
if ( !RiaApplication::generateCode( outputFile, &errMsg ) )
|
||||
{
|
||||
RiaLogging::error( QString( "Error: %1" ).arg( errMsg ) );
|
||||
return RiaApplication::EXIT_WITH_ERROR;
|
||||
}
|
||||
|
||||
return RiaApplication::EXIT_COMPLETED;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user