@@ -109,13 +109,14 @@ public function package( $args, $assoc_args ) {
109
109
EOT ;
110
110
111
111
$ files_written = $ this ->create_files ( array (
112
- "{$ package_dir }/.gitignore " => file_get_contents ( "{$ package_root }/.gitignore " ),
113
- "{$ package_dir }/.editorconfig " => file_get_contents ( "{$ package_root }/.editorconfig " ),
114
- "{$ package_dir }/.distignore " => file_get_contents ( "{$ package_root }/.distignore " ),
115
- "{$ package_dir }/CONTRIBUTING.md " => file_get_contents ( "{$ package_root }/CONTRIBUTING.md " ),
116
- "{$ package_dir }/wp-cli.yml " => $ wp_cli_yml ,
117
- "{$ package_dir }/hello-world-command.php " => Utils \mustache_render ( "{$ template_path }/command.mustache " , $ assoc_args ),
118
- "{$ package_dir }/composer.json " => Utils \mustache_render ( "{$ template_path }/composer.mustache " , $ assoc_args ),
112
+ "{$ package_dir }/.gitignore " => file_get_contents ( "{$ package_root }/.gitignore " ),
113
+ "{$ package_dir }/.editorconfig " => file_get_contents ( "{$ package_root }/.editorconfig " ),
114
+ "{$ package_dir }/.distignore " => file_get_contents ( "{$ package_root }/.distignore " ),
115
+ "{$ package_dir }/CONTRIBUTING.md " => file_get_contents ( "{$ package_root }/CONTRIBUTING.md " ),
116
+ "{$ package_dir }/wp-cli.yml " => $ wp_cli_yml ,
117
+ "{$ package_dir }/hello-world-command.php " => Utils \mustache_render ( "{$ template_path }/hello-world-command.mustache " , $ assoc_args ),
118
+ "{$ package_dir }/src/HelloWorldCommand.php " => Utils \mustache_render ( "{$ template_path }/HelloWorldCommand.mustache " , $ assoc_args ),
119
+ "{$ package_dir }/composer.json " => Utils \mustache_render ( "{$ template_path }/composer.mustache " , $ assoc_args ),
119
120
), $ force );
120
121
121
122
if ( empty ( $ files_written ) ) {
0 commit comments