summaryrefslogtreecommitdiff
path: root/.github/scripts/plugin-dirs.sh
blob: 7bfa0f4b8450b4d5b8f5a6ef91a0482ef1950dd9 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash
# Print the folders of the plugins that live in this repository, one per line,
# relative to the repo root.
set -euo pipefail
shopt -s nullglob
cd "$(dirname "${BASH_SOURCE[0]}")/../.."

for dir in plugins/*/ external_plugins/*/; do
  printf '%s\n' "${dir%/}"
done