Skip to content

Commit

Permalink
Rename to .distignore to imply use for generic distibution
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbachhuber committed May 16, 2016
1 parent 0fe6e72 commit c0ab1d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion features/scaffold.feature
Expand Up @@ -125,7 +125,7 @@ Feature: WordPress code scaffolding
.DS_Store
node_modules/
"""
And the {PLUGIN_DIR}/hello-world/.svnignore file should contain:
And the {PLUGIN_DIR}/hello-world/.distignore file should contain:
"""
.git
.gitignore
Expand Down
2 changes: 1 addition & 1 deletion php/commands/scaffold.php
Expand Up @@ -447,7 +447,7 @@ function plugin( $args, $assoc_args ) {
"$plugin_dir/package.json" => Utils\mustache_render( 'plugin-packages.mustache', $data ),
"$plugin_dir/Gruntfile.js" => Utils\mustache_render( 'plugin-gruntfile.mustache', $data ),
"$plugin_dir/.gitignore" => Utils\mustache_render( 'plugin-gitignore.mustache', $data ),
"$plugin_dir/.svnignore" => Utils\mustache_render( 'plugin-svnignore.mustache', $data ),
"$plugin_dir/.distignore" => Utils\mustache_render( 'plugin-distignore.mustache', $data ),
"$plugin_dir/.editorconfig" => file_get_contents( WP_CLI_ROOT . "/templates/.editorconfig" ),
), $force );

Expand Down
@@ -1,5 +1,5 @@
# A set of files you probably don't want in your WordPress.org distribution
.svnignore
.distignore
.editorconfig
.git
.gitignore
Expand Down

0 comments on commit c0ab1d8

Please sign in to comment.