Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@ if ./vendor/bin/phpunit --testdox ./tests/; then
rm -rf ./doc/generated
mkdir ./doc/generated
echo 'Generate Documentation'
php ./tools/sami.phar update ./doc/config.php
rm -rf ./cache
if php ./tools/sami.phar -v update ./doc/config.php; then
echo "$(tput setaf 2)Documentation Generated Successfully$(tput sgr 0)"
rm -rf ./cache
else
echo "$(tput setaf 1)Documentation Generation Failed$(tput sgr 0)"
rm -rf ./doc/generated
rm -rf ./cache
exit 1
fi
else
exit 1
fi
1 change: 0 additions & 1 deletion doc/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
->exclude('Proto')
->in('./lib');

echo "@@@@ " . __DIR__.'/generated';
return new Sami($iterator, array(
'build_dir' => __DIR__.'/generated'
));