protected function publishThemeViews(Theme $theme, $clean = true)
    {
        $target = base_path('resources/views/'.self::TARGET_DIR);
        // Skip the ordeal if theme doesn't have views
        if (! $this->filesystem->exists($theme->getViewsDirectory())) {
            return true;
        }
        // Clean views directory.
        if ($clean) {
            $clean = $this->filesystem->deleteDirectory($target) || true;
        }
        // Publish theme views.
        $published = $this->filesystem->copyDirectory($theme->getViewsDirectory(), $target);

        return $published;
    }