Add SHELL variable and update shell command in Makefile

This commit is contained in:
William Valentin
2025-07-28 12:37:04 -07:00
parent 5a191a8fa0
commit 8e03f105b0

View File

@@ -2,6 +2,7 @@ TARGET=thechart
VERSION=1.0.0
ROOT=/home/will
ICON=chart-671.png
SHELL=/bin/fish
help: ## Show this help
@grep -E -h '\s##\s' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
install: ## Set up the development environment
@@ -46,7 +47,7 @@ attach: ## Open a shell in the container
docker-compose exec -it ${TARGET} /bin/bash
shell: ## Open a shell in the local environment
@echo "Opening a shell in the local environment..."
eval (poetry env activate)
${SHELL} -c "eval (poetry env activate)"
requirements: ## Export the requirements to a file
@echo "Exporting requirements to requirements.txt..."
poetry export --without-hashes -f requirements.txt -o requirements.txt