Skip to content

Commit

Permalink
Added vendor to the generated .gitignore which the scaffold creates. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
janw-me authored Nov 18, 2022
1 parent 2849353 commit 12df858
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions features/scaffold.feature
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@ Feature: WordPress code scaffolding
Thumbs.db
wp-cli.local.yml
node_modules/
vendor/
*.sql
*.tar.gz
*.zip
"""
And the {PLUGIN_DIR}/hello-world/.distignore file should contain:
"""
Expand Down
1 change: 1 addition & 0 deletions templates/plugin-gitignore.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ phpunit.xml
Thumbs.db
wp-cli.local.yml
node_modules/
vendor/
*.sql
*.tar.gz
*.zip

0 comments on commit 12df858

Please sign in to comment.