summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'BuildTools')
-rwxr-xr-xBuildTools/GetBuildVersion.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/BuildTools/GetBuildVersion.py b/BuildTools/GetBuildVersion.py
new file mode 100755
index 0000000..9d7b29d
--- /dev/null
+++ b/BuildTools/GetBuildVersion.py
@@ -0,0 +1,9 @@
+#!/usr/bin/env python
+
+import sys
+sys.path.append("SCons")
+import Version
+
+assert(len(sys.argv) == 2)
+
+print Version.getBuildVersion(sys.argv[1])