Skip to content

Commit

Permalink
added saving loaded constants to defines
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Apr 12, 2017
1 parent 94d957b commit e89b1ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ public function writeConfig($name, array $data, array $defines = [])
{
$data = $this->substituteOutputDirs($data);
$defines = $this->substituteOutputDirs($defines);
if ($name === 'defines') {
$data = $defines;
}
static::writeFile($this->getOutputPath($name), $data, $defines);
}

Expand Down

0 comments on commit e89b1ab

Please sign in to comment.