Skip to content

Commit

Permalink
Remove _data directory
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Mar 31, 2022
1 parent e0578bb commit a11ff92
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
3 changes: 0 additions & 3 deletions src/Commands/HydePublishStubsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));

Expand Down Expand Up @@ -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'));
Expand Down
13 changes: 0 additions & 13 deletions tests/stubs/_data/authors.yml

This file was deleted.

0 comments on commit a11ff92

Please sign in to comment.