Skip to content

Commit

Permalink
Ignore mv errors in Makefile, ignore cloud-nuke configs
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Squizzato <[email protected]>
  • Loading branch information
squizzi committed Aug 23, 2024
1 parent 1bd2311 commit 9c9886e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ dist
go.work
go.work.sum

# cloud nuke config
*cloud_nuke.yaml

# editors
.idea
*.swp
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,6 @@ set -e; \
package=$(2)@$(3) ;\
echo "Downloading $${package}" ;\
GOBIN=$(LOCALBIN) go install $${package} ;\
mv "$$(echo "$(1)" | sed "s/-$(3)$$//")" $(1) ;\
mv "$$(echo "$(1)" | sed "s/-$(3)$$//")" $(1) 2> /dev/null;\
}
endef

0 comments on commit 9c9886e

Please sign in to comment.