MCPcopy Create free account
hub / github.com/Naios/function2 / get_version

Function get_version

conanfile.py:6–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4from conans import ConanFile, tools
5
6def get_version():
7 git = tools.Git()
8 try:
9 return git.run("describe --tags --abbrev=0")
10 except:
11 return None
12
13class Function2Conan(ConanFile):
14 name = "function2"

Callers 1

Function2ConanClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected