Browse Source

Minor fixes to Golang frameworks

msmith-techempower 10 years ago
parent
commit
64dbd579ae

+ 3 - 0
frameworks/Go/gorail/install.sh

@@ -0,0 +1,3 @@
+#!/bin/bash
+
+fw_depends go

+ 1 - 1
frameworks/Go/revel-qbs/setup.py

@@ -28,7 +28,7 @@ def stop(logfile, errfile):
   p = subprocess.Popen(['ps', 'aux'], stdout=subprocess.PIPE)
   out, err = p.communicate()
   for line in out.splitlines():
-    if 'revel' in line and 'run-tests' not in line:
+    if 'revel' in line and 'run-tests' not in line and 'run-ci' not in line:
       pid = int(line.split(None, 2)[1])
       os.kill(pid, 15)
   return 0

+ 1 - 1
frameworks/Go/revel/setup.py

@@ -28,7 +28,7 @@ def stop(logfile, errfile):
   p = subprocess.Popen(['ps', 'aux'], stdout=subprocess.PIPE)
   out, err = p.communicate()
   for line in out.splitlines():
-    if 'revel' in line and 'run-tests' not in line:
+    if 'revel' in line and 'run-tests' not in line and 'run-ci' not in line:
       pid = int(line.split(None, 2)[1])
       os.kill(pid, 15)
   return 0