modelbuilder: get the management of opt_only_metamodel and opt_only_parse
[nit.git] / src / nitg.nit
index 4ebec61..58bf0f1 100644 (file)
@@ -53,11 +53,10 @@ var progname = arguments.first
 
 # Here we load an process all modules passed on the command line
 var mmodules = modelbuilder.parse([progname])
+
 if mmodules.is_empty then return
 modelbuilder.run_phases
 
-if toolcontext.opt_only_metamodel.value then exit(0)
-
 # Here we launch the interpreter on the main module
 assert mmodules.length == 1
 var mainmodule = mmodules.first