src/Palete/ValaSource.vala
authorAlan Knowles <alan@roojs.com>
Thu, 14 May 2015 09:54:22 +0000 (17:54 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 14 May 2015 09:54:22 +0000 (17:54 +0800)
src/Palete/ValaSource.vala

index 11776cd..ac4e4eb 100644 (file)
@@ -130,7 +130,9 @@ namespace Palete {
                        var gproj = (Project.Gtk)proj;
                        
                        
-                       gproj.compilegroups.has_key(BuilderApplication.opt_compile_target);
+                       if (!gproj.compilegroups.has_key(BuilderApplication.opt_compile_target)) {
+                               jerr("missing compile target %s".printf(BuilderApplication.opt_compile_target));
+                       }
                        
                        jerr("NOT DONE");