mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-08 16:14:08 +00:00
Move "make info" command to root folder
This should help during the error reporting step.
This commit is contained in:
parent
76e7b3b59d
commit
8c261fa92c
12
Makefile
12
Makefile
@ -50,6 +50,18 @@ upgrade-to-tutor: ## Upgrade from earlier versions of tutor
|
|||||||
&& echo "Done migrating to tutor. This command will not be run again."\
|
&& echo "Done migrating to tutor. This command will not be run again."\
|
||||||
)) || true
|
)) || true
|
||||||
|
|
||||||
|
info: ## Print some information about the current install, for debugging
|
||||||
|
uname -a
|
||||||
|
@echo "-------------------------"
|
||||||
|
git rev-parse HEAD
|
||||||
|
@echo "-------------------------"
|
||||||
|
docker version
|
||||||
|
@echo "-------------------------"
|
||||||
|
docker-compose --version
|
||||||
|
@echo "-------------------------"
|
||||||
|
echo $$EDX_PLATFORM_PATH
|
||||||
|
echo $$EDX_PLATFORM_SETTINGS
|
||||||
|
|
||||||
ESCAPE =
|
ESCAPE =
|
||||||
help: ## Print this help
|
help: ## Print this help
|
||||||
@grep -E '^([a-zA-Z_-]+:.*?## .*|######* .+)$$' Makefile \
|
@grep -E '^([a-zA-Z_-]+:.*?## .*|######* .+)$$' Makefile \
|
||||||
|
@ -174,21 +174,12 @@ portainer: ## Run Portainer (https://portainer.io), a UI for container supervisi
|
|||||||
|
|
||||||
##################### Information
|
##################### Information
|
||||||
|
|
||||||
|
info:
|
||||||
|
$(MAKE) -s -C ../.. info
|
||||||
|
|
||||||
# Obtained by running "echo '\033' in a shell
|
# Obtained by running "echo '\033' in a shell
|
||||||
ESCAPE =
|
ESCAPE =
|
||||||
help: ## Print this help
|
help: ## Print this help
|
||||||
@grep -E '^([a-zA-Z_-]+:.*?## .*|######* .+)$$' Makefile \
|
@grep -E '^([a-zA-Z_-]+:.*?## .*|######* .+)$$' Makefile \
|
||||||
| sed 's/######* \(.*\)/\n $(ESCAPE)[1;31m\1$(ESCAPE)[0m/g' \
|
| sed 's/######* \(.*\)/\n $(ESCAPE)[1;31m\1$(ESCAPE)[0m/g' \
|
||||||
| awk 'BEGIN {FS = ":.*?## "}; {printf "\033[33m%-30s\033[0m %s\n", $$1, $$2}'
|
| awk 'BEGIN {FS = ":.*?## "}; {printf "\033[33m%-30s\033[0m %s\n", $$1, $$2}'
|
||||||
|
|
||||||
info: ## Print some information about the current install, for debugging
|
|
||||||
uname -a
|
|
||||||
@echo "-------------------------"
|
|
||||||
git rev-parse HEAD
|
|
||||||
@echo "-------------------------"
|
|
||||||
docker version
|
|
||||||
@echo "-------------------------"
|
|
||||||
docker-compose --version
|
|
||||||
@echo "-------------------------"
|
|
||||||
echo $$EDX_PLATFORM_PATH
|
|
||||||
echo $$EDX_PLATFORM_SETTINGS
|
|
||||||
|
Loading…
Reference in New Issue
Block a user