Skip to content

Commit ad4a98d

Browse files
authored
Add Blackfire profiling command (#58)
1 parent 2ae1a4a commit ad4a98d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Makefile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,22 @@ e2e: vendor
4848
php build/set004/bin/greet.phar > build/output
4949
diff fixtures/set004/expected-output build/output
5050

51+
tb: ## Run Blackfire profiling
52+
tb: vendor
53+
rm -rf build
54+
#
55+
# As of now, files included in `autoload-dev` are not excluded from the
56+
# classmap.
57+
#
58+
# See: https://github.com/composer/composer/issues/6457
59+
#
60+
# As a result, the the flag `--no-dev` for `composer install` cannot
61+
# be used and `box.json.dist` must include the `tests` directory
62+
#
63+
composer install --prefer-dist --classmap-authoritative
64+
blackfire --new-reference run bin/php-scoper add-prefix -f -q
65+
composer install
66+
5167

5268
##
5369
## Rules from files

0 commit comments

Comments
 (0)