fix: clean server files befure build

This commit is contained in:
Felipe M 2025-08-04 16:38:08 +02:00
parent c1399f5107
commit f42dce9147
No known key found for this signature in database
GPG key ID: 52E5D65FCF99808A

View file

@ -11,9 +11,16 @@ all: check-style test dist
manifest-check:
pluginctl manifest check
## Cleans the server build artifacts.
.PHONY: clean-server
clean-server:
ifneq ($(HAS_SERVER),)
rm -rf server/dist
endif
## Builds the server, if it exists, for all supported architectures, unless MM_SERVICESETTINGS_ENABLEDEVELOPER is set.
.PHONY: server
server: clean-server
server:
ifneq ($(HAS_SERVER),)
ifneq ($(MM_DEBUG),)