diff --git a/Makefile b/Makefile index 5cf898a..4ceea71 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ SHELL := /bin/bash -.PHONY: help packages clean-builds gradle-update +.PHONY: help packages clean-builds gradle-update docs help: ## Show available commands @echo "Available commands:" @@ -9,6 +9,7 @@ help: ## Show available commands @echo " make packages Run 'flutter packages get' for all apps" @echo " make clean-builds Move all build folders to trash" @echo " make gradle-update Upgrade Gradle wrappers" + @echo " make docs Regenerate documentation/EXAMPLES.md" @echo "" @echo "gradle-update options:" @echo " VERSION= Target Gradle version (default: latest from GitHub)" @@ -26,6 +27,9 @@ packages: ## Run flutter packages get for all apps clean-builds: ## Move all build folders to trash ./scripts/delete_build_folder.sh +docs: ## Regenerate documentation/EXAMPLES.md from app folders + ./scripts/generate_examples_doc.sh + gradle-update: ## Upgrade Gradle wrappers @args=""; \ if [ -n "$(VERSION)" ]; then args="--version $(VERSION)"; fi; \ diff --git a/documentation/MAINTENANCE.md b/documentation/MAINTENANCE.md index 779a8ca..f056cb1 100644 --- a/documentation/MAINTENANCE.md +++ b/documentation/MAINTENANCE.md @@ -10,6 +10,7 @@ All maintenance commands are available through the `Makefile` at the repository | `make packages` | Run `flutter packages get` for all example apps | | `make clean-builds` | Move all build folders to trash | | `make gradle-update` | Upgrade Gradle wrappers to the latest version | +| `make docs` | Regenerate `documentation/EXAMPLES.md` from the app folders | ## Update Gradle wrappers