Skip to content

Commit

Permalink
added ability to have multiple defines
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Jun 22, 2016
1 parent 827d606 commit 5b84dc8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ public function processPackage(PackageInterface $package)
);

if (isset($files['defines'])) {
$this->readConfigFile($package, $files['defines']);
foreach ((array) $files['defines'] as $file) {
$this->readConfigFile($package, $file);
}
unset($files['defines']);
}

Expand Down

0 comments on commit 5b84dc8

Please sign in to comment.