MCPcopy Create free account
hub / github.com/ExpressLRS/ExpressLRS / version_to_env

Function version_to_env

src/python/build_flags.py:120–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118 build_flags = [x for x in build_flags if (x.strip() != "")] # remove any blank items
119
120def version_to_env():
121 ver = elrs_helpers.get_git_version()
122 env.Append(GIT_SHA = ver['sha'], GIT_VERSION= ver['version'])
123
124def string_to_ascii(str):
125 return ",".join(["%s" % ord(char) for char in str])

Callers 1

build_flags.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected