Skip to content

Commit

Permalink
Merge pull request #57 from davidjnevin/UpdateMakeFile
Browse files Browse the repository at this point in the history
change egrep command to exclude 'target:'
  • Loading branch information
davidjnevin authored Feb 19, 2024
2 parents 0f0f132 + 96d9007 commit 2910336
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
DOCKER_COMPOSE=docker compose
DOCKER_ENVIRONMENT=docker-compose.yml
DOCKER_ENVIRONMENT=docker-compose-portainer.yml
PRE_RUN_API_COMMAND=${DOCKER_COMPOSE} -f ${DOCKER_ENVIRONMENT} run --rm chat-cleaner-app
PACKAGE_NAME=chatcleaner
VENV_FOLDER=.venv
Expand All @@ -10,9 +10,10 @@ PYTHON=./.venv/bin/python
PHONY = help install install-dev test format lint type-check secure migrations migrate

# target: help - Display callable targets.
# Remove first 9 characters from egrep output for cleaner help display
help:
@echo "---------------HELP-----------------"
@egrep "^# target:" [Mm]akefile
@egrep "^# target:" [Mm]akefile | sed -e 's/target://'
@echo "------------------------------------"

# target: install - Install the project locally
Expand Down

0 comments on commit 2910336

Please sign in to comment.