diff --git a/_build/deploy-phpdoc.sh b/_build/deploy-phpdoc.sh index fec64c6..f916b9e 100755 --- a/_build/deploy-phpdoc.sh +++ b/_build/deploy-phpdoc.sh @@ -21,7 +21,7 @@ echo # check for changes if [ -z "$(git status --porcelain)" ]; then - echo "Nothing to deploy; skipping..." + printf 'Nothing to deploy; skipping...\n\n' exit 0 fi diff --git a/_build/generate-phpdoc.sh b/_build/generate-phpdoc.sh index 82eee54..3f12fd5 100755 --- a/_build/generate-phpdoc.sh +++ b/_build/generate-phpdoc.sh @@ -23,14 +23,14 @@ phpdoc project:parse --config "$PHPDOC_CONFIG" \ # check for changes printf '\nCheck for phpDoc cache changes...\n' if [ -z "$(git status --porcelain "$PHPDOC_CACHE_DIR")" ]; then - echo "No changes detected, don't rewrite phpDoc API docs..." + printf 'No changes detected; skipping phpDocs renewal...\n\n' exit 0 fi # transform phpDoc files (i.e. rewrite API docs) # NOTE: actually this should be `phpdoc project:transform`, # but the command seems to be broken... -printf '\nRewrite phpDoc API docs...\n' +printf '\nRewrite phpDocs...\n' rm -rf "$PHPDOC_TARGET_DIR" phpdoc project:run --config "$PHPDOC_CONFIG" \ --cache-folder "$PHPDOC_CACHE_DIR" \