소스 검색

Add cache:warmup and --classmap-authoritative

tags/4.0.15.1
Steevan BARBOYON 8 년 전
부모
커밋
b713708221
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3
    1
      init_benchmark.sh

+ 3
- 1
init_benchmark.sh 파일 보기

@@ -10,6 +10,8 @@ function clearCacheAndLogs() {
10 10
     [ "$?" != "0" ] && exit 1
11 11
     sudo /bin/chmod -R 777 var/log
12 12
     [ "$?" != "0" ] && exit 1
13
+
14
+    php bin/console cache:warmup
13 15
 }
14 16
 
15 17
 function init() {
@@ -25,7 +27,7 @@ function init() {
25 27
     clearCacheAndLogs
26 28
 
27 29
     export APP_ENV=$env
28
-    composer install --no-dev --optimize-autoloader
30
+    composer install --no-dev --classmap-authoritative
29 31
     [ "$?" != "0" ] && exit 1
30 32
 
31 33
     if [ "$env" == "news" ]; then

Loading…
취소
저장