make: avoid shipping garbage from testing

This commit is contained in:
Oneric 2024-10-03 20:37:38 +02:00
parent 0d4bb30be3
commit 3fb5549a03

View file

@ -10,8 +10,11 @@ SUBMODULE_NAME ::= akkoma-fe
.PHONY: build
build: patch.stamp
@# yarn doesn't seem to do incremental builds anyway
@# but garbage may accumulate from `yarnpkg dev` testing inbetween
cd $(SUBMODULE_NAME) && \
$(YARN) && \
rm -fr dist && \
$(YARN) build
wf_akkoma-fe.zip: build