Skip to content

Commit

Permalink
makefile: updating prepare to remove only directories
Browse files Browse the repository at this point in the history
Removing the entire directory removes the `go.mod` and README etc, so needs updating
  • Loading branch information
tombuildsstuff committed Jan 25, 2024
1 parent c8c56ea commit 35a0759
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 35a0759

Please sign in to comment.