The tags and tar plugins do not necessarily build from source, and running `ps:rebuild` can have some unexpected output in certain cases. Rather than try to handle that complexity - it's a lot - documenting the edge cases is the most appropriate way forward.
15 lines
374 B
Bash
Executable File
15 lines
374 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
|
source "$PLUGIN_AVAILABLE_PATH/ps/functions"
|
|
|
|
ps_rebuildall_cmd() {
|
|
declare desc="rebuilds all apps from source"
|
|
local cmd="ps:rebuildall"
|
|
for app in $(dokku_apps); do
|
|
(is_deployed "$app") && ps_rebuild "$app"
|
|
done
|
|
}
|
|
|
|
ps_rebuildall_cmd "$@"
|