Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@ full-clean: clean

.PHONY: clean
clean:
ifeq ("$(package)", "all")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be good to keep the old behaviour as well? I.e. that make clean, cleans everything? Otherwise, people have to type more and learn about this change...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"all" is the default, no need to type anything extra.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And now for the boring stuff: It might be good to document this, somewhere 😅

cabal clean
else
-if ( test -e dist || test -e dist-newstyle ); then find dist* -type d -name '$(package)-*' -exec rm -rf {}; fi
endif
# `/dist` shouldn't be created or used by anybody any more, we're just making sure here.
-rm -rf dist
-rm -f "bill-of-materials.$(HELM_SEMVER).json"

Expand Down