Skip to content

Commit 080fe8c

Browse files
authored
Merge pull request #1 from p-mongo/make-clean
Add a make clean target
2 parents 0a13f31 + f972a2f commit 080fe8c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ TARGET_DIR=source-${GIT_BRANCH}
1515
# the current "stable" branch. This is weird and dumb, yes.
1616
STABLE_BRANCH=`grep 'manual' build/docs-tools/data/${PROJECT}-published-branches.yaml | cut -d ':' -f 2 | grep -Eo '[0-9a-z.]+'`
1717

18-
.PHONY: help stage fake-deploy deploy deploy-search-index check-redirects publish-build-only publish migrate
18+
.PHONY: help stage fake-deploy deploy deploy-search-index check-redirects publish-build-only publish migrate clean
1919

2020
help: ## Show this help message
2121
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
@@ -70,3 +70,6 @@ migrate: get-assets
7070

7171
get-assets:
7272
giza generate assets
73+
74+
clean:
75+
rm -rf build

0 commit comments

Comments
 (0)