Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

Commit ef5581c

Browse files
committed
Add version info to syncthing build script
1 parent 878f31a commit ef5581c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

syncthing/build-syncthing.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ def get_ndk_home():
9595
'CGO_ENABLED': '1',
9696
})
9797

98+
subprocess.check_call(
99+
['go', 'version'],
100+
env=environ, cwd=syncthing_dir)
101+
subprocess.check_call(
102+
['go', 'run', 'build.go', 'version'],
103+
env=environ, cwd=syncthing_dir)
98104
cc = os.path.join(
99105
get_ndk_home(), "toolchains", "llvm", "prebuilt",
100106
PLATFORM_DIRS[platform.system()], "bin",

0 commit comments

Comments
 (0)