Skip to content

Instantly share code, notes, and snippets.

@tarecord
Created May 29, 2023 20:14
Show Gist options
  • Save tarecord/962d11dd19754cca3bd4cf8cdd73b4b3 to your computer and use it in GitHub Desktop.
Save tarecord/962d11dd19754cca3bd4cf8cdd73b4b3 to your computer and use it in GitHub Desktop.
A basic .distignore for a Wordpress plugin using dist-archive WP-CLI package
# A set of files you probably don't want in your WordPress.org distribution
.deploy
.distignore
.DS_Store
.editorconfig
.git
.github
.gitignore
.gitmodules
*.sql
*.tar.gz
*.zip
bin
composer.json
composer.lock
Gruntfile.js
node_modules
package.json
phpcs.xml.dist
phpcs.ruleset.xml
phpstan.neon.dist
phpunit.xml
phpunit.xml.dist
README.md
tests
Thumbs.db
wp-cli.local.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment