From 4a290c2be5dcdc45acab0ec3571ea4584e5158c0 Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Thu, 5 Sep 2019 18:08:02 +0200 Subject: [PATCH] Remove go mod download as part of build (#1395) --- syncthing/build-syncthing.py | 1 - 1 file changed, 1 deletion(-) diff --git a/syncthing/build-syncthing.py b/syncthing/build-syncthing.py index 315da4cf..b1b2eea0 100644 --- a/syncthing/build-syncthing.py +++ b/syncthing/build-syncthing.py @@ -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)