您可以使用wp scaffold plugin PLUGINNAME
命令它创建了一组文件,包括.distignore
, .editorconfig
, .gitignore
, .travis.yml
.
以下是.distignore
:
# A set of files you probably don\'t want in your WordPress.org distribution
.distignore
.editorconfig
.git
.gitignore
.gitlab-ci.yml
.travis.yml
.DS_Store
Thumbs.db
behat.yml
bin
circle.yml
composer.json
composer.lock
Gruntfile.js
package.json
package-lock.json
phpunit.xml
phpunit.xml.dist
multisite.xml
multisite.xml.dist
phpcs.xml
phpcs.xml.dist
README.md
wp-cli.local.yml
yarn.lock
tests
vendor
node_modules
*.sql
*.tar.gz
*.zip
我的问题是:哪些工具可以识别
.distignore
? 它们只是识别它的wp cli命令吗?像WP Engine这样的在线主机能识别它吗?