Integrate manifest apply into build system

Update build makefiles to include manifest apply command in build pipeline:
- Add apply target to deploy.mk that runs pluginctl manifest apply
- Update dist target in build.mk to run apply before building
- Update test and coverage targets in test.mk to run apply before testing

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Felipe M 2025-07-31 11:18:09 +02:00
parent 5df921238e
commit 9d3c6b357f
No known key found for this signature in database
GPG key ID: 52E5D65FCF99808A
3 changed files with 11 additions and 6 deletions

View file

@ -2,6 +2,11 @@
# Deployment and Plugin Management
# ====================================================================================
## Applies the plugin manifest to the server and webapp codebase
.PHONY: apply
apply:
pluginctl manifest apply
## Builds and installs the plugin to a server.
.PHONY: deploy
deploy: dist
@ -9,7 +14,7 @@ deploy: dist
## Builds and installs the plugin to a server, updating the webapp automatically when changed.
.PHONY: watch
watch: server bundle
watch: apply server bundle
ifeq ($(MM_DEBUG),)
cd webapp && $(NPM) run build:watch
else