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" ])
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")
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"])
def list_containers(self, state=None, fancy=False): output = subprocess.get_output() return output