#!/usr/bin/env bash set -xe SDK_ROOT=$1 CODEGEN_ROOT=$2 REPOTOOLS_VERSION="${REPOTOOLS_VERSION:-latest}" cd "$1" go run github.com/awslabs/aws-go-multi-module-repository-tools/cmd/gomodgen@${REPOTOOLS_VERSION} -build "$CODEGEN_ROOT"