feat(Makefile): introduce common.mk for shared variables and environment configuration feat(Makefile): create web.mk for web frontend-related tasks feat(Makefile): create launchpad.mk for internal launchpad deployment tasks feat(Makefile): create mobile.mk for mobile app development tasks feat(Makefile): create dataconnect.mk for Data Connect management tasks feat(Makefile): create tools.mk for development tools like git hooks feat(Makefile): remove admin-web specific tasks and files as the admin console is no longer actively maintained feat(Makefile): update help command to reflect the new modular structure and available commands feat(Makefile): remove base44 export workflow as it is no longer relevant feat(Makefile): remove IAP configuration as it is no longer used feat(Makefile): remove harness-related tasks as they are no longer relevant The Makefile has been significantly refactored to improve organization and maintainability. The changes include: - Modularization: The monolithic Makefile has been split into smaller, more manageable files, each responsible for a specific area of the project (web, launchpad, mobile, dataconnect, tools). - Common Configuration: Shared variables and environment configuration are now centralized in common.mk. - Removal of Unused Tasks: Tasks related to the admin console, base44 export workflow, IAP configuration, and API test harness have been removed as they are no longer relevant. - Updated Help Command: The help command has been updated to reflect the new modular structure and available commands. - Improved Readability: The modular structure makes the Makefile easier to read and understand. - Maintainability: The modular structure makes it easier to maintain and update the Makefile. - Scalability: The modular structure makes it easier to add new tasks and features to the Makefile.
19 lines
729 B
Makefile
19 lines
729 B
Makefile
# --- DevOps Launchpad ---
|
|
|
|
.PHONY: launchpad-dev deploy-launchpad-hosting
|
|
|
|
launchpad-dev:
|
|
@echo "--> Starting local Launchpad server using Firebase Hosting emulator..."
|
|
@echo " - Generating secure email hashes..."
|
|
@node scripts/generate-allowed-hashes.js
|
|
@firebase serve --only hosting:launchpad --project=$(FIREBASE_ALIAS)
|
|
|
|
deploy-launchpad-hosting:
|
|
@echo "--> Deploying Internal Launchpad to Firebase Hosting..."
|
|
@echo " - Generating secure email hashes..."
|
|
@node scripts/generate-allowed-hashes.js
|
|
@echo " - Target: hosting:launchpad"
|
|
@echo " - Project: $(FIREBASE_ALIAS)"
|
|
@firebase deploy --only hosting:launchpad --project=$(FIREBASE_ALIAS)
|
|
@echo "--> ✅ Deployment to Firebase Hosting successful."
|