diff --git a/src/Commands/HydePublishStubsCommand.php b/src/Commands/HydePublishStubsCommand.php index fb799398..1947b028 100644 --- a/src/Commands/HydePublishStubsCommand.php +++ b/src/Commands/HydePublishStubsCommand.php @@ -50,7 +50,6 @@ public function handle(): int $this->info('Publishing test stubs'); File::copyDirectory(Hyde::path('vendor/hyde/framework/tests/stubs/_posts'), Hyde::path('_posts')); - File::copyDirectory(Hyde::path('vendor/hyde/framework/tests/stubs/_data'), Hyde::path('_data')); File::copyDirectory(Hyde::path('vendor/hyde/framework/tests/stubs/_media'), Hyde::path('_media')); File::copyDirectory(Hyde::path('vendor/hyde/framework/tests/stubs/_pages'), Hyde::path('_pages')); @@ -80,9 +79,7 @@ public function purge() { $this->warn('Removing all _content directories.'); - File::deleteDirectory(Hyde::path('_data')); File::deleteDirectory(Hyde::path('_docs')); - File::deleteDirectory(Hyde::path('_drafts')); File::deleteDirectory(Hyde::path('_media')); File::deleteDirectory(Hyde::path('_pages')); File::deleteDirectory(Hyde::path('_posts')); diff --git a/tests/stubs/_data/authors.yml b/tests/stubs/_data/authors.yml deleted file mode 100644 index 944d8a13..00000000 --- a/tests/stubs/_data/authors.yml +++ /dev/null @@ -1,13 +0,0 @@ -# In this file you can declare custom authors. - -# In the default example, `mr_hyde` is the username. -# When setting the author to mr_hyde in a blog post, -# the data in the array will automatically be added. - -authors: - mr_hyde: - name: Mr. Hyde - website: https://github.com/hydephp/hyde - lewis_carroll: - name: Lewis Carroll - \ No newline at end of file