Esempio n. 1
0
def build():
    version = get_output(["git", "describe", "--tags"])

    os.environ["JustInstallVersion"] = version[1:6]
    call([
        "godep", "go", "build", "-o", EXE, "-ldflags",
        "-X main.version " + version, "./bin"
    ])
Esempio n. 2
0
def build():
    version = get_output(["git", "describe", "--tags"])

    os.environ["JustInstallVersion"] = version[1:6]

    if "--skip-tests" not in sys.argv:
        call("go", "test", "-v")

    call("go", "build", "-o", EXE, "-ldflags", "-X main.version=" + version, "./bin")
Esempio n. 3
0
def build():
    version = get_output(["git", "describe", "--tags"])

    os.environ["JustInstallVersion"] = version[1:6]
    call(["godep", "go", "build", "-o", EXE, "-ldflags", "-X main.version " + version, "./bin"])
Esempio n. 4
0
 def list_containers(self, state=None, fancy=False):
     output = subprocess.get_output()
     return output
Esempio n. 5
0
 def list_containers(self, state=None, fancy=False):
     output = subprocess.get_output()
     return output