From 10bce115fd2a92aaa5468e28b60e878123351ec8 Mon Sep 17 00:00:00 2001 From: Annie Ku Date: Thu, 1 Aug 2024 09:51:19 -0700 Subject: [PATCH] fix: make the aws mock-generation script work again (#1079) --- README.md | 2 ++ aws/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f17f022c..d8cbc0e8 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,8 @@ This is a collection of Go libraries and projects used by other projects within ### aws An AWS client that aims to standardize the way we mock and write aws tests +If you recently changed laptops and struggled with new go dependencies, use [this page to help](https://stackoverflow.com/questions/42614380/go-install-not-working-with-zsh). Full link: https://stackoverflow.com/questions/42614380/go-install-not-working-with-zsh + ### config A utility for loading configuration from environment variables and files. See the [config](config/README.md) package for more information. diff --git a/aws/Makefile b/aws/Makefile index efa60f70..eb017474 100644 --- a/aws/Makefile +++ b/aws/Makefile @@ -5,7 +5,7 @@ generate-mocks: ## will generate mocks go install github.com/golang/mock/mockgen@v1.6.0 go get -u github.com/aws/aws-sdk-go/... go get -u github.com/aws/aws-sdk-go-v2/... - rm -rf aws/mocks/* - cd aws; go generate + rm -rf mocks/* + go generate go mod tidy .PHONY: generate-mocks