kopia lustrzana https://github.com/jedie/PyInventory
Add "header" in Makefiles
rodzic
7e609e4762
commit
e55a0b1524
6
Makefile
6
Makefile
|
@ -2,7 +2,11 @@ SHELL := /bin/bash
|
|||
MAX_LINE_LENGTH := 119
|
||||
export DJANGO_SETTINGS_MODULE ?= inventory_project.settings.local
|
||||
|
||||
help: ## List all commands
|
||||
all: help
|
||||
|
||||
help:
|
||||
@echo -e '_________________________________________________________________'
|
||||
@echo -e 'PyInventory - *dev* Makefile\n'
|
||||
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z0-9 -]+:.*?## / {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
|
||||
|
||||
check-poetry:
|
||||
|
|
|
@ -63,7 +63,9 @@ Read [[https://github.com/jedie/PyInventory/tree/master/deployment#readme|/deplo
|
|||
~$ git clone https://github.com/jedie/PyInventory.git
|
||||
~$ cd PyInventory/
|
||||
~/PyInventory$ make
|
||||
help List all commands
|
||||
_________________________________________________________________
|
||||
PyInventory - *dev* Makefile
|
||||
|
||||
install-poetry install or update poetry
|
||||
install install PyInventory via poetry
|
||||
manage-update Collectstatic + makemigration + migrate
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
SHELL := /bin/bash
|
||||
|
||||
help: ## List all commands
|
||||
all: help
|
||||
|
||||
help:
|
||||
@echo -e '_________________________________________________________________'
|
||||
@echo -e 'PyInventory - *deployment* Makefile\n'
|
||||
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z0-9 -_]+:.*?## / {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
|
||||
|
||||
check-poetry:
|
||||
|
|
|
@ -101,7 +101,9 @@ install some base packages, e.g.:
|
|||
|
||||
# Theses Makefile targets exists:
|
||||
~/PyInventory/deployment$ make
|
||||
help List all commands
|
||||
_________________________________________________________________
|
||||
PyInventory - *deployment* Makefile
|
||||
|
||||
install-poetry install or update poetry
|
||||
install install requirements to setup project
|
||||
update update the sources and docker containers
|
||||
|
|
Ładowanie…
Reference in New Issue