src/Palete/ValaSource.vala
authorAlan Knowles <alan@roojs.com>
Thu, 28 May 2015 07:41:30 +0000 (15:41 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 28 May 2015 07:41:30 +0000 (15:41 +0800)
src/Palete/ValaSource.vala

index 11db745..cd9f512 100644 (file)
@@ -214,15 +214,13 @@ namespace Palete {
                            args += this.file.build_module;
                        } else {
                            args += pr.firstBuildModule();
+                       }
+                       args += "--output";
+                       args += "/tmp/testrun";
                        
-                       
-
-                        
                         
-                       
-                       
                        try {
-                           this.compiler = new Spawn("/tmp", args);
+                           this.compiler = new Spawn(pr.firstPath(), args);
                            this.compiler.complete.connect(spawnResult);
                        
                            this.compiler.run();