protected function getProjectDir()
    {
        $dir = rtrim($this->getInputDir(), '/');
        if (is_dir($dir . '/.phrozn')) {
            $dir .= '/.phrozn/';
        }

        // see if we have entries folder present
        if (!is_dir($dir . '/entries')) {
            throw new \RuntimeException('Entries folder not found');
        }

        return $dir;
    }