Skip to content

Commit

Permalink
Merge pull request #850 from hashicorp/b/fix-prepare
Browse files Browse the repository at this point in the history
makefile: updating `prepare` to remove only directories
  • Loading branch information
tombuildsstuff authored Jan 25, 2024
2 parents f8d9465 + 35a0759 commit fc28217
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ imports: tools
prepare:
@echo "==> Preparing the repository to be updated.."
@echo "==> 1. Resource Manager - Removing all existing generated files"
rm -rf ./resource-manager/
find ./resource-manager/ -maxdepth 1 -mindepth 1 -type d -exec rm -rf '{}' \;
@echo "==> 2. Resource Manager - Re-creating the directory structure in preparation"
mkdir -p ./resource-manager/
# TODO: enable Microsoft Graph support prior to enabling generation of that SDK
#@echo "==> 3. Microsoft Graph - Removing all existing generated files"
#rm -rf ./microsoft-graph/
#find ./microsoft-graph/ -maxdepth 1 -mindepth 1 -type d -exec rm -rf '{}' \;
#@echo "==> 4. Microsoft Graph - Re-creating the directory structure in preparation"
#mkdir -p ./microsoft-graph/

Expand Down

0 comments on commit fc28217

Please sign in to comment.