-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
27 lines (27 loc) · 899 Bytes
/
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
stan:
docker run --rm \
--volume=${PWD}/code:/code \
mejor-torrent-crawler_crawler:latest \
php /code/vendor/bin/phpstan analyze /code/src -l 8
sniffer:
docker run --rm \
--volume=${PWD}/code:/code \
mejor-torrent-crawler_crawler:latest \
php /code/vendor/bin/phpcs --standard=PSR12 /code/src /code/tests
test:
docker run --rm \
--volume=${PWD}/code:/code \
mejor-torrent-crawler_crawler:latest \
php /code/vendor/bin/phpunit -c /code/phpunit.xml --no-coverage
coverage:
docker run --rm \
--volume=${PWD}/code:/code \
mejor-torrent-crawler_crawler:latest \
php /code/vendor/bin/phpunit -c /code/phpunit.xml
command:
docker run --rm \
--volume=${PWD}/code:/code \
--volume=${PWD}/scrap-json:/scrap/json:rw \
--volume=${PWD}/scrap-torrent:/scrap/torrent:rw \
mejor-torrent-crawler_crawler:latest \
time php /code/public/index_hex_crawler.php ${page}