1
0
Fork 0
mirror of https://github.com/imjasonh/terraform-playground synced 2026-07-08 07:44:57 +00:00
terraform-playground/image-workflow/hack/update-codegen.sh
Jason Hall 36810cf5ac
WIP: image workflow
Signed-off-by: Jason Hall <jason@chainguard.dev>
2023-06-22 20:41:22 -04:00

19 lines
368 B
Bash
Executable file

#!/usr/bin/env bash
# Copyright 2022 Chainguard, Inc.
# SPDX-License-Identifier: Apache-2.0
set -o errexit
set -o nounset
set -o pipefail
REPO_ROOT_DIR=$PWD/$(dirname "$0")/..
echo === Tidying up for Golang
go mod tidy -compat=1.17
echo === Generating for Golang
go generate ./...
# Make sure our dependencies are up-to-date
${REPO_ROOT_DIR}/hack/update-deps.sh