فهرست منبع

Add the documentation to the README and Makefile

Yevhen Zvieriev 1 سال پیش
والد
کامیت
255e04ffb1
2فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 1 0
      README.md
  2. 4 0
      compose/Makefile

+ 1 - 0
README.md

@@ -269,6 +269,7 @@ It is recommended to keep your root docker config files in one repository, and y
 - `bin/analyse`: Run `phpstan analyse` within the container to statically analyse code, passing in directory to analyse. Ex. `bin/analyse app/code`
 - `bin/bash`: Drop into the bash prompt of your Docker container. The `phpfpm` container should be mainly used to access the filesystem within Docker.
 - `bin/cache-clean`: Access the [cache-clean](https://github.com/mage2tv/magento-cache-clean) CLI. Note the watcher is automatically started at startup in `bin/start`. Ex. `bin/cache-clean config full_page`
+- `bin/check-dependencies`: Provides helpful recommendations for dependencies tailored to the chosen Magento version.
 - `bin/cli`: Run any CLI command without going into the bash prompt. Ex. `bin/cli ls`
 - `bin/clinotty`: Run any CLI command with no TTY. Ex. `bin/clinotty chmod u+x bin/magento`
 - `bin/cliq`: The same as `bin/cli`, but pipes all output to `/dev/null`. Useful for a quiet CLI, or implementing long-running processes.

+ 4 - 0
compose/Makefile

@@ -21,6 +21,7 @@ help:
 	@echo "$(call red,===============================)"
 	@echo "$(call format,bash,'Drop into the bash prompt of your Docker container.')"
 	@echo "$(call format,cache-clean,'Access the cache-clean CLI.')"
+	@echo "$(call format,check-dependencies,'Provides helpful recommendations for dependencies.')"
 	@echo "$(call format,cli,'Run any CLI command without going into the bash prompt.')"
 	@echo "$(call format,clinotty,'Run any CLI command with no TTY.')"
 	@echo "$(call format,cliq,'Run any CLI command but pipe all output to /dev/null.')"
@@ -68,6 +69,9 @@ bash:
 
 cache-clean:
 	@./bin/cache-clean $(call args)
+	
+check-dependencies:
+	@./bin/check-dependencies
 
 cli:
 	@./bin/cli $(call args)