瀏覽代碼

Minor fixes to Golang frameworks

msmith-techempower 11 年之前
父節點
當前提交
64dbd579ae
共有 3 個文件被更改,包括 5 次插入2 次删除
  1. 3 0
      frameworks/Go/gorail/install.sh
  2. 1 1
      frameworks/Go/revel-qbs/setup.py
  3. 1 1
      frameworks/Go/revel/setup.py

+ 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