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 c5ed6d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ 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/
#@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 c5ed6d0

Please sign in to comment.