@@ -88,10 +88,19 @@ |
||
88 | 88 | { |
89 | 89 | $steps = 3; // prepare, finalize, cleanup |
90 | 90 | |
91 | - if (!$this->option('skip-git')) $steps++; |
|
92 | - if (!$this->option('skip-composer')) $steps++; |
|
93 | - if (!$this->option('skip-npm')) $steps += 2; // install + build |
|
94 | - if (!$this->option('skip-db')) $steps++; |
|
91 | + if (!$this->option('skip-git')) { |
|
92 | + $steps++; |
|
93 | + } |
|
94 | + if (!$this->option('skip-composer')) { |
|
95 | + $steps++; |
|
96 | + } |
|
97 | + if (!$this->option('skip-npm')) { |
|
98 | + $steps += 2; |
|
99 | + } |
|
100 | + // install + build |
|
101 | + if (!$this->option('skip-db')) { |
|
102 | + $steps++; |
|
103 | + } |
|
95 | 104 | |
96 | 105 | $steps++; // smarty cache clear |
97 | 106 | $steps++; // env merge |