Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
release prep
Browse files Browse the repository at this point in the history
  • Loading branch information
basz committed Feb 3, 2015
1 parent d185aff commit f6e5ef8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CHANGELOG

v2.0.0-dev
v2.0.0

- Rely on composer for autoloading (PSR4) (possible BC)
- config key phingPath is now phingBin (possible BC)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,16 @@ every controller so retrieval is trivial.

$buildResult = $this->getServiceLocator()->get('BsbPhingService')->build('show-defaults dist', $options);

if ($buildResult['returnStatus'] > 0) {
if ($buildResult->getExitCode() > 0) {
// problem
echo $buildResult['command'];
echo $buildResult['output'];
echo $buildResult->getCommandline();
echo $buildResult->getErrorOutput();
} else {
// yeah
echo $buildResult['output'];
echo $buildResult->getOutput();
}

$view = new ViewModel($buildResult);
$view = new ViewModel(array('process'=>$buildResult));

return $view;
}
Expand Down

0 comments on commit f6e5ef8

Please sign in to comment.