16 lines
304 B
Bash
Executable File
16 lines
304 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Copyright 2022 The CloudEvents Authors
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
|
|
for gomodule in $(find . | grep "go\.mod" | awk '{gsub(/\/go.mod/,""); print $0}' | grep -v "./conformance")
|
|
do
|
|
pushd $gomodule
|
|
go mod tidy
|
|
popd
|
|
done
|