chore: Refactor mobile build scripts to use Melos
Updated Makefile, mobile.mk, and melos.yaml to centralize mobile app build, start, and code generation commands using Melos scripts. Added info and install-melos commands for easier onboarding and workspace setup. Documentation updated to reflect staff app naming and new command structure.
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
# --- Development Tools ---
|
||||
|
||||
.PHONY: install-git-hooks sync-prototypes
|
||||
.PHONY: install-git-hooks sync-prototypes install-melos
|
||||
|
||||
install-melos:
|
||||
@if ! command -v melos >/dev/null 2>&1; then \
|
||||
echo "--> Melos not found. Installing globally via dart pub..."; \
|
||||
dart pub global activate melos; \
|
||||
else \
|
||||
echo "✅ Melos is already installed."; \
|
||||
fi
|
||||
|
||||
install-git-hooks:
|
||||
@echo "--> Installing Git hooks..."
|
||||
|
||||
Reference in New Issue
Block a user