protected function runPostBuildHooks(array $appConfig, $buildDir)
    {
        if (!isset($appConfig['hooks']['build'])) {
            return null;
        }
        if (!empty($this->settings['no-build-hooks'])) {
            $this->output->writeln('Skipping post-build hooks');
            return null;
        }
        $this->output->writeln('Running post-build hooks');

        return $this->runHook($appConfig['hooks']['build'], $buildDir);
    }