| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class FinalDevBuild extends Task |
||
| 11 | { |
||
| 12 | protected $taskStep = 's60'; |
||
| 13 | |||
| 14 | public function getTitle() |
||
| 17 | } |
||
| 18 | |||
| 19 | public function getDescription() |
||
| 22 | Run a dev/build as a smoke test to see if all is well.'; |
||
| 23 | } |
||
| 24 | |||
| 25 | public function runActualTask($params = []) |
||
| 26 | { |
||
| 27 | $this->mu()->execMe( |
||
| 28 | $this->mu()->getWebRootDirLocation(), |
||
|
|
|||
| 29 | 'vendor/bin/sake dev/build flush=all', |
||
| 30 | 'It is time for a dev/build', |
||
| 31 | false |
||
| 32 | ); |
||
| 33 | } |
||
| 34 | |||
| 35 | protected function hasCommitAndPush() |
||
| 38 | } |
||
| 39 | } |
||
| 40 |