-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
35 lines (23 loc) · 982 Bytes
/
justfile
File metadata and controls
35 lines (23 loc) · 982 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
set positional-arguments
watch-phpunit *args='':
find config/ src/ tests/ -type f | entr docker-compose exec --user=www-data php vendor/bin/phpunit "$@"
phpunit *args='':
docker-compose exec --user=www-data php vendor/bin/phpunit "${@}"
phpstan *args='':
docker-compose exec --user=www-data php vendor/bin/phpstan "${@}"
rector *args='':
docker-compose exec --user=www-data php vendor/bin/rector "${@}"
regex := '/.*/'
show-deprecations *args='':
docker-compose exec -e SYMFONY_DEPRECATIONS_HELPER='{{regex}}' --user=www-data php vendor/bin/phpunit "${@}"
composer *args='':
docker-compose exec --user=www-data php composer "${@}"
fix:
docker-compose exec --user=www-data php vendor/bin/php-cs-fixer fix -v
up:
docker-compose up -d
watch-phpstan *args='':
find config/ src/ tests/ -type f -name '*.php' | entr j phpstan "${@}"
release-interactive: fix phpunit
#!/usr/bin/env bash
source ~/.nvm/nvm.sh && nvm use && release-it