mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-22 04:11:14 +00:00
Add version info to syncthing build script
This commit is contained in:
parent
878f31a2aa
commit
ef5581c247
1 changed files with 6 additions and 0 deletions
|
@ -95,6 +95,12 @@ for target in BUILD_TARGETS:
|
||||||
'CGO_ENABLED': '1',
|
'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(
|
cc = os.path.join(
|
||||||
get_ndk_home(), "toolchains", "llvm", "prebuilt",
|
get_ndk_home(), "toolchains", "llvm", "prebuilt",
|
||||||
PLATFORM_DIRS[platform.system()], "bin",
|
PLATFORM_DIRS[platform.system()], "bin",
|
||||||
|
|
Loading…
Reference in a new issue