diff --git a/Makefile b/Makefile index 041038a..12b60a9 100644 --- a/Makefile +++ b/Makefile @@ -81,6 +81,7 @@ rename: @sed -i "s|$(CMD_NAME)|$(APP)|g" README.md @sed -i "s|$(CMD_NAME)|$(APP)|g" .gitea/workflows/ci.yml @sed -i "s|$(GIT_REPO)|$(NAME)|g" .gitea/workflows/ci.yml + @rm contrib/$(CMD_NAME).swagger.json @find . -type f -a \ \( -name '*.go' -o -name 'go.mod' \ -o -name 'go.sum' -o -name '*.proto' \ @@ -91,3 +92,4 @@ rename: -exec sed -i "s|$(GIT_REPO)|$(NAME)|g" {} + @echo "\n* Project renamed to $(NAME)" @echo "* NOTE: You will have to update .gitea/workflows/ci.yml" + @echo "* NOTE: You will have to run buf generate"