Fixed issue with boolean options evaluating to true

This commit is contained in:
2017-01-10 16:47:09 +01:00
parent 688b9dcfca
commit 70c510ff9b
3 changed files with 15 additions and 7 deletions

View File

@ -98,7 +98,8 @@ class Application
$manifests = Manifest::createFromFile($this->config->manifest);
foreach ($manifests as $manifest) {
log_info("Building %s", $manifest->getOutput());
$type = $manifest->getIsLibrary()?"library":"application";
log_info("Building %s %s", $type, $manifest->getOutput());
$builder = new PharBuilder($manifest);
$builder->prepare();
$builder->build();