-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bb: always build with GO111MODULE=off
Now that findpkg has dropped support for finding packages that are not also found by `go list`, we can simplify busybox module resolution as well. To support workspaces, modules, and no-module compilation, we query `go list` for all dependencies, write them to the temporary directory, and build with `GO111MODULE=off`. This means we will always support offline compilation (E.g. a vendored workspace or a vendored module will remain offline.) Signed-off-by: Chris Koch <chrisko@google.com>
- Loading branch information
Showing
15 changed files
with
21 additions
and
521 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
#!/bin/bash | ||
set -eux | ||
|
||
# This one hasn't been migrated to the go test yet. | ||
(cd ./test/requestconflict && ./test.sh) | ||
|
||
(cd ./src/cmd/makebb && GO111MODULE=on go build .) | ||
(cd ./test && go test --makebb=../src/cmd/makebb/makebb -v) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.