Skip to content

Commit

Permalink
[init] Add defaults example file. (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmolivas committed Jan 8, 2018
1 parent 83cc1a4 commit b2614a1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
14 changes: 14 additions & 0 deletions dist/defaults.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#defaults:
# cache:
# rebuild:
# arguments:
# cache: all
# config:
# export:
# options:
# remove-uuid: true
# remove-config-hash: true
# generate:
# controller:
# options:
# module: example
6 changes: 0 additions & 6 deletions src/Command/InitCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$configFile->getRelativePathname()
);

// $destinationFile = str_replace(
// 'chain/optional/',
// 'chain/',
// $destinationFile
// );

$fs = new Filesystem();
foreach ($this->directories as $directory) {
if (!$fs->exists($destination.$directory)) {
Expand Down

0 comments on commit b2614a1

Please sign in to comment.