1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 11:21:29 +00:00

Remove go mod download as part of build (#1395)

This commit is contained in:
Simon Frei 2019-09-05 18:08:02 +02:00 committed by GitHub
parent f91fbf9ca3
commit 32119af039
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,7 +113,6 @@ for target in BUILD_TARGETS:
'CGO_ENABLED': '1', 'CGO_ENABLED': '1',
}) })
subprocess.check_call(['go', 'mod', 'download'], cwd=syncthing_dir)
subprocess.check_call([ subprocess.check_call([
'go', 'run', 'build.go', '-goos', 'android', '-goarch', target['goarch'], '-cc', os.path.join(standalone_ndk_dir, 'bin', target['cc']) 'go', 'run', 'build.go', '-goos', 'android', '-goarch', target['goarch'], '-cc', os.path.join(standalone_ndk_dir, 'bin', target['cc'])
] + pkg_argument + ['-no-upgrade', 'build'], env=environ, cwd=syncthing_dir) ] + pkg_argument + ['-no-upgrade', 'build'], env=environ, cwd=syncthing_dir)