-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (32 loc) · 1.16 KB
/
Makefile
File metadata and controls
43 lines (32 loc) · 1.16 KB
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
start:
docker-compose up -d
stop:
docker-compose stop
init:
docker-compose up -d
docker exec -it test_tnet_php composer install
docker exec -it test_tnet_php bin/console doctrine:schema:drop --force
docker exec -it test_tnet_php bin/console doctrine:schema:update --force
docker exec -it test_tnet_php bin/console doctrine:fixtures:load
docker exec -it test_tnet_php vendor/bin/phpunit
down:
docker-compose down --rmi all -v --remove-orphans
install-vendor:
docker exec -it test_tnet_php composer install
update-vendor:
docker exec -it test_tnet_php composer install
shell-php:
docker exec -it test_tnet_php ash
shell-sql:
docker exec -it test_tnet_sql bash
test:
docker exec -it test_tnet_php bin/console doctrine:schema:drop --force
docker exec -it test_tnet_php bin/console doctrine:schema:update --force
docker exec -it test_tnet_php bin/console doctrine:fixtures:load
docker exec -it test_tnet_php vendor/bin/phpunit
test-small:
docker exec -it test_tnet_php vendor/bin/phpunit --testsuite=Small
test-medium:
docker exec -it test_tnet_php vendor/bin/phpunit --testsuite=Medium
test-large:
docker exec -it test_tnet_php vendor/bin/phpunit --testsuite=Large