Files
smom-dbis-138/Makefile.quality
defiQUG 1fb7266469 Add Oracle Aggregator and CCIP Integration
- Introduced Aggregator.sol for Chainlink-compatible oracle functionality, including round-based updates and access control.
- Added OracleWithCCIP.sol to extend Aggregator with CCIP cross-chain messaging capabilities.
- Created .gitmodules to include OpenZeppelin contracts as a submodule.
- Developed a comprehensive deployment guide in NEXT_STEPS_COMPLETE_GUIDE.md for Phase 2 and smart contract deployment.
- Implemented Vite configuration for the orchestration portal, supporting both Vue and React frameworks.
- Added server-side logic for the Multi-Cloud Orchestration Portal, including API endpoints for environment management and monitoring.
- Created scripts for resource import and usage validation across non-US regions.
- Added tests for CCIP error handling and integration to ensure robust functionality.
- Included various new files and directories for the orchestration portal and deployment scripts.
2025-12-12 14:57:48 -08:00

52 lines
1.4 KiB
Makefile

# Code Quality Targets
# Run code quality checks and fixes
.PHONY: quality quality-check quality-fix lint format validate
quality: quality-check quality-fix
quality-check: lint validate
@echo "✅ All quality checks passed"
quality-fix: format
@echo "✅ Code formatting complete"
lint:
@echo "Running linters..."
@if command -v shellcheck >/dev/null 2>&1; then \
find scripts -name "*.sh" -type f -exec shellcheck {} \; || true; \
else \
echo "⚠️ shellcheck not installed, skipping"; \
fi
@if command -v yamllint >/dev/null 2>&1; then \
find . -name "*.yml" -o -name "*.yaml" | grep -v node_modules | xargs yamllint || true; \
else \
echo "⚠️ yamllint not installed, skipping"; \
fi
format:
@echo "Formatting code..."
@if command -v shfmt >/dev/null 2>&1; then \
find scripts -name "*.sh" -type f -exec shfmt -w -i 4 -ci -sr {} \; || true; \
else \
echo "⚠️ shfmt not installed, skipping"; \
fi
validate:
@echo "Validating configurations..."
@./scripts/automation/validate-configs.sh || true
standardize:
@echo "Standardizing scripts..."
@./scripts/automation/standardize-shebangs.sh || true
@./scripts/automation/add-error-handling.sh || true
docs:
@echo "Generating script documentation..."
@./scripts/automation/generate-script-docs.sh || true
setup-dev:
@echo "Setting up development environment..."
@./scripts/setup/dev-environment.sh || true