-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
47 lines (41 loc) · 1.16 KB
/
Makefile
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
DOCKER_SERVICE = php-iterator
env:
cp .env.dist .env
new: kill
docker-compose up -d --build --remove-orphans
make install
up:
docker-compose up -d
make autoload
stop:
docker-compose stop
kill:
docker-compose kill
test:
docker-compose exec $(DOCKER_SERVICE) composer test
lint:
docker-compose exec $(DOCKER_SERVICE) composer lint
lint-static:
docker-compose exec $(DOCKER_SERVICE) composer lint:static
lint-fix:
docker-compose exec $(DOCKER_SERVICE) composer lint:fix
lint-style:
docker-compose exec $(DOCKER_SERVICE) composer lint:style
lint-fix-style:
docker-compose exec $(DOCKER_SERVICE) composer lint:fix-style
autoload:
docker-compose exec $(DOCKER_SERVICE) composer dump-autoload
install:
docker-compose exec $(DOCKER_SERVICE) composer install --no-interaction --prefer-dist
normalize:
docker-compose exec $(DOCKER_SERVICE) composer normalize
update-lock:
docker-compose exec $(DOCKER_SERVICE) composer update --lock
update:
docker-compose exec $(DOCKER_SERVICE) composer update
upgrade:
docker-compose exec $(DOCKER_SERVICE) composer upgrade
validate:
docker-compose exec $(DOCKER_SERVICE) composer validate
bash:
docker-compose exec $(DOCKER_SERVICE) bash