-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (31 loc) · 913 Bytes
/
Makefile
File metadata and controls
35 lines (31 loc) · 913 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
32
33
34
35
docker-build:
docker build --pull -t mtrdesign/s3-logs-parser .
docker rm --force s3-logs-parser
docker run --name s3-logs-parser \
-v ${PWD}:/app \
-it mtrdesign/s3-logs-parser \
composer install
docker-bash:
docker rm --force s3-logs-parser
docker run --name s3-logs-parser \
-v ${PWD}:/app \
-it mtrdesign/s3-logs-parser \
/bin/bash
run-phpcs:
docker rm --force s3-logs-parser
docker run --name s3-logs-parser \
-v ${PWD}:/app \
-it mtrdesign/s3-logs-parser \
vendor/bin/phpcs -p --standard=PSR2 src tests
run-phpstan:
docker rm --force s3-logs-parser
docker run --name s3-logs-parser \
-v ${PWD}:/app \
-it mtrdesign/s3-logs-parser \
vendor/bin/phpstan analyse --level 7 src
run-phpunit:
docker rm --force s3-logs-parser
docker run --name s3-logs-parser \
-v ${PWD}:/app \
-it mtrdesign/s3-logs-parser \
vendor/bin/phpunit --coverage-clover=coverage.xml --verbose