23 lines
338 B
Bash
Executable File
23 lines
338 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
STORE_FILE="$REPO_ROOT/store.json"
|
|
|
|
echo "["
|
|
|
|
first=true
|
|
for manifest in "$REPO_ROOT"/plugins/*/manifest.json; do
|
|
[ -f "$manifest" ] || continue
|
|
|
|
if [ "$first" = true ]; then
|
|
first=false
|
|
else
|
|
echo ","
|
|
fi
|
|
|
|
cat "$manifest"
|
|
done
|
|
|
|
echo "]"
|