chore: update check-format.sh to reformat all apps
This commit is contained in:
parent
46e993fa81
commit
37be7a4977
|
@ -7,19 +7,8 @@ set -euo pipefail
|
||||||
|
|
||||||
cd -P -- "$(dirname -- "$0")/.."
|
cd -P -- "$(dirname -- "$0")/.."
|
||||||
|
|
||||||
APPS=()
|
APPS="$(./scripts/find-apps.sh | xargs)"
|
||||||
APPS+=( 'apps/emqx' 'apps/emqx_modules' 'apps/emqx_gateway')
|
for app in ${APPS}; do
|
||||||
APPS+=( 'apps/emqx_authn' 'apps/emqx_authz' )
|
|
||||||
APPS+=( 'lib-ee/emqx_enterprise_conf' 'lib-ee/emqx_license' )
|
|
||||||
APPS+=( 'apps/emqx_exhook')
|
|
||||||
APPS+=( 'apps/emqx_retainer' 'apps/emqx_slow_subs')
|
|
||||||
APPS+=( 'apps/emqx_management')
|
|
||||||
APPS+=( 'apps/emqx_psk')
|
|
||||||
APPS+=( 'apps/emqx_plugin_libs' 'apps/emqx_machine' 'apps/emqx_statsd' )
|
|
||||||
APPS+=( 'apps/emqx_auto_subscribe' 'apps/emqx_conf')
|
|
||||||
APPS+=( 'apps/emqx_dashboard')
|
|
||||||
|
|
||||||
for app in "${APPS[@]}"; do
|
|
||||||
echo "$app ..."
|
echo "$app ..."
|
||||||
./scripts/format_app.py -a "$app" -f
|
./scripts/format_app.py -a "$app" -f
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue