mirror of
https://github.com/imjasonh/terraform-playground
synced 2026-07-15 10:55:47 +00:00
initial commit
This commit is contained in:
commit
ff373fa178
13 changed files with 946 additions and 0 deletions
19
image-copy/hack/update-codegen.sh
Executable file
19
image-copy/hack/update-codegen.sh
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue