public function publishViews()
    {
        $sourceDir = __DIR__ . "/../../views/";
        $destinationDir = base_path('resources/views/infyom/generator-builder/');

        if (file_exists($destinationDir)) {
            $answer = $this->ask('Do you want to overwrite generator-builder? (y|N) :', false);

            if (strtolower($answer) != 'y' and strtolower($answer) != 'yes') {
                return false;
            }
        } else {
            File::makeDirectory($destinationDir, 493, true);
        }

        File::copyDirectory($sourceDir, $destinationDir);

        $this->comment('generator-builder views published');
        $this->info($destinationDir);
    }
public function publishViews()
    {
        $sourceDir = __DIR__ . "/../../views/";
        $destinationDir = base_path('resources/views/infyom/generator-builder/');

        if (file_exists($destinationDir)) {
            $answer = $this->ask('Do you want to overwrite generator-builder? (y|N) :', false);

            if (strtolower($answer) != 'y' and strtolower($answer) != 'yes') {
                return false;
            }
        } else {
            File::makeDirectory($destinationDir, 493, true);
        }

        File::copyDirectory($sourceDir, $destinationDir);

        $this->comment('generator-builder views published');
        $this->info($destinationDir);
    }
public function publishViews ( ) { $ sourceDir = __DIR__ . "/../../views/" ; $ destinationDir = base_path ( 'resources/views/infyom/generator-builder/' ) ; if ( file_exists ( $ destinationDir ) ) { $ answer = $ this -> ask ( 'Do you want to overwrite generator-builder? (y|N) :' , false ) ; if ( strtolower ( $ answer ) != 'y' and strtolower ( $ answer ) != 'yes' ) { return false ; } } else { File :: makeDirectory ( $ destinationDir , 493 , true ) ; } File :: copyDirectory ( $ sourceDir , $ destinationDir ) ; $ this -> comment ( 'generator-builder views published' ) ; $ this -> info ( $ destinationDir ) ; }
Publishes views.
Publishes views .