diff options
Diffstat (limited to '.github/scripts/plugin-dirs.sh')
| -rw-r--r-- | .github/scripts/plugin-dirs.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/scripts/plugin-dirs.sh b/.github/scripts/plugin-dirs.sh new file mode 100644 index 00000000..7bfa0f4b --- /dev/null +++ b/.github/scripts/plugin-dirs.sh @@ -0,0 +1,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 |
