aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2022-02-27 12:35:36 -0700
committerCody Hiar <cody@hiar.ca>2022-02-27 12:35:36 -0700
commitdee5cca9258a4cdc4ccd70ca013bd929ae92d318 (patch)
tree6d03d136062ea97a854d82b5109d91346313683b /Makefile
parentd2723dd9036da7fb212cc3ef7c1a31d125e14a72 (diff)
Rename project to something more succinctHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index aa51099..e1dc540 100644
--- a/Makefile
+++ b/Makefile
@@ -1,19 +1,21 @@
.PHONY: build
+DOCKER_COMPOSE = docker-compose -p slack_mention_reader
+
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
build: ## Build the Docker image
- docker-compose -p slacky build
+ ${DOCKER_COMPOSE} build
up: build ## Bring the container up
- docker-compose -p slacky up -d
+ ${DOCKER_COMPOSE} up -d
down: ## Stop the container
- docker-compose -p slacky stop
+ ${DOCKER_COMPOSE} stop
enter: ## Enter the running container
- docker-compose -p slacky exec backend /bin/bash
+ ${DOCKER_COMPOSE} exec backend /bin/bash
clean: down ## Remove stoped containers
- docker-compose -p slacky rm -f
+ ${DOCKER_COMPOSE} rm -f