Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Add WordPress.org distribution file
Browse files Browse the repository at this point in the history
Specify which files should not be included in the push to WordPress.org. These are all development files and directories.

Note that `/vendor` is not included here - that means that it WILL be available in the plugin on WordPress.org, which is essential as we have some `require` dependencies.

The deploy Action will use rsync + `.distignore` if the `.distignore` exists, so it doesn't care what may or may not be ignored via `.gitignore`.

See https://plugins.trac.wordpress.org/browser/fb-instant-articles#trunk
  • Loading branch information
GaryJones committed Oct 18, 2022
1 parent 25dac3a commit 898258d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/.distignore
/.editorconfig
/.git
/.gitignore
/.github
/.phpcs.xml.dist
/.phpunit.result.cache
/.wordpress-org
/bin
/composer.json
/phpunit.xml.dist
/release.sh
/tests

0 comments on commit 898258d

Please sign in to comment.