-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (21 loc) · 750 Bytes
/
Makefile
File metadata and controls
31 lines (21 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
CONTAINER_NAME ?= tactix
.PHONY: build up down test shell
build:
@docker compose build --pull --no-cache
up:
@docker compose up -d --remove-orphans
down:
@docker compose down
qa:
@docker compose exec -it $(CONTAINER_NAME) composer qa
test:
@docker compose exec -it $(CONTAINER_NAME) vendor/bin/phpunit --configuration phpunit.xml.dist $(TESTARGS)
shell:
@docker compose exec -it $(CONTAINER_NAME) sh
maintain: show-composer-updates update-composer-dependencies
show-composer-updates:
@echo "Show whether composer dependencies are outdated"
@docker compose exec -it $(CONTAINER_NAME) composer show --outdated
update-composer-dependencies:
@echo "Update dependencies"
@docker compose exec -it $(CONTAINER_NAME) composer update -W