1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-22 10:51:28 +00:00

Add version info to syncthing build script

This commit is contained in:
Simon Frei 2024-02-07 07:37:26 +01:00
parent 878f31a2aa
commit ef5581c247

View file

@ -95,6 +95,12 @@ for target in BUILD_TARGETS:
'CGO_ENABLED': '1',
})
subprocess.check_call(
['go', 'version'],
env=environ, cwd=syncthing_dir)
subprocess.check_call(
['go', 'run', 'build.go', 'version'],
env=environ, cwd=syncthing_dir)
cc = os.path.join(
get_ndk_home(), "toolchains", "llvm", "prebuilt",
PLATFORM_DIRS[platform.system()], "bin",