-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: spacewander <[email protected]>
- Loading branch information
1 parent
8ded9c5
commit 6d1e535
Showing
6 changed files
with
38 additions
and
23 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,17 +25,6 @@ done | |
|
||
pushd "$TARGET_ISTIO_DIR" | ||
go mod tidy | ||
go install golang.org/x/tools/cmd/goimports@latest # required by codegen | ||
if [ "$(uname -s)" = "Darwin" ]; then | ||
sed -i '' -e 's/.\/site/.\/external\/istio/' ../../go.work | ||
else | ||
sed -i -e 's/.\/site/.\/external\/istio/' ../../go.work | ||
fi | ||
# go run will fail without adding `./external/istio` to go.work | ||
go install golang.org/x/tools/cmd/[email protected] # required by codegen. Version higher than 0.24.0 doesn't support Go 1.21. | ||
go run pkg/config/schema/codegen/tools/collections.main.go | ||
if [ "$(uname -s)" = "Darwin" ]; then | ||
sed -i '' -e 's/.\/external\/istio/.\/site/' ../../go.work | ||
else | ||
sed -i -e 's/.\/external\/istio/.\/site/' ../../go.work | ||
fi | ||
popd |