forked from scssphp/scssphp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
30 lines (21 loc) · 830 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
28
29
30
test: vendor
vendor/bin/phpunit --colors tests
sass-spec: vendor
TEST_SASS_SPEC=1 vendor/bin/phpunit --colors tests 2>&1 | tee /tmp/sass-spec.log | tail -2
rebuild-sass-spec: vendor
BUILD=1 vendor/bin/phpunit tests/SassSpecTest.php
rebuild-outputs: vendor
BUILD=1 vendor/bin/phpunit tests/InputTest.php
standard: vendor
vendor/bin/phpcs -s --extensions=php bin src tests *.php
vendor: composer.json
composer update
touch $@
phpstan: vendor-bin/phpstan/vendor
vendor-bin/phpstan/vendor/bin/phpstan analyse
phpstan-baseline: vendor-bin/phpstan/vendor
vendor-bin/phpstan/vendor/bin/phpstan analyse --generate-baseline
vendor-bin/phpstan/vendor: vendor vendor-bin/phpstan/composer.json
composer bin phpstan update
touch $@
.PHONY: test sass-spec rebuild-sass-spec rebuild-outputs standard phpstan phpstan-baseline