Skip to content

Commit

Permalink
Removes the manifests on cleaning up using make clean
Browse files Browse the repository at this point in the history
Signed-off-by: Puneet Punamiya <[email protected]>
  • Loading branch information
PuneetPunamiya authored and tekton-robot committed Aug 18, 2021
1 parent c77ef1b commit b9c72c7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,23 @@ clean-cluster: | $(KO) $(KUSTOMIZE) clean-cr; $(info $(M) clean $(TARGET)…) @
--ignore-not-found \
--recursive

.PHONY: clean-manifest
clean-manifest:
ifeq ($(TARGET), openshift)
rm -rf ./cmd/$(TARGET)/operator/kodata/tekton-pipeline
rm -rf ./cmd/$(TARGET)/operator/kodata/tekton-trigger
else
rm -rf ./cmd/$(TARGET)/operator/kodata/tekton*
endif

.PHONY: clean-bin
clean-bin:
-rm -rf $(BIN)
-rm -rf bin
-rm -rf test/tests.* test/coverage.*

.PHONY: clean
clean: clean-cluster clean-bin; $(info $(M) clean all) @ ## Cleanup everything
clean: clean-cluster clean-bin clean-manifest; $(info $(M) clean all) @ ## Cleanup everything

.PHONY: help
help:
Expand Down

0 comments on commit b9c72c7

Please sign in to comment.