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

This commit is contained in:
Simon Frei 2019-09-05 18:08:02 +02:00
parent 0d8e10afa1
commit 4a290c2be5
No known key found for this signature in database
GPG Key ID: 7C31D23ECB1006F3
1 changed files with 0 additions and 1 deletions

View File

@ -113,7 +113,6 @@ for target in BUILD_TARGETS:
'CGO_ENABLED': '1',
})
subprocess.check_call(['go', 'mod', 'download'], cwd=syncthing_dir)
subprocess.check_call([
'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)