Skip to content

Commit f062025

Browse files
committed
Do composer install before anything
1 parent 5aca1f2 commit f062025

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.phpbenchmarks/initBenchmark.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ function clearCache() {
1818
mkdir storage/framework/sessions
1919
}
2020

21+
composer install --no-dev --classmap-authoritative
22+
clearCache
23+
php artisan config:cache
24+
php artisan route:cache
25+
2126
pwd=$(pwd)
2227
langEn="$pwd/vendor/phpbenchmarks/laravel-common/Resources/lang/en/phpbenchmarks.php"
2328
langEnGb="$pwd/vendor/phpbenchmarks/laravel-common/Resources/lang/en_GB/phpbenchmarks.php"
@@ -37,9 +42,3 @@ if [ -L "$pwd/resources/lang/fr_FR/phpbenchmarks.php" ]; then
3742
rm "$pwd/resources/lang/fr_FR/phpbenchmarks.php"
3843
fi
3944
ln -s "$langFrFr" resources/lang/fr_FR
40-
41-
clearCache
42-
composer install --no-dev --classmap-authoritative
43-
clearCache
44-
php artisan config:cache
45-
php artisan route:cache

0 commit comments

Comments
 (0)