fix: install all agent categories for copilot
This commit is contained in:
parent
070bf0bca5
commit
d1d3c9c133
1 changed files with 2 additions and 2 deletions
|
|
@ -285,7 +285,7 @@ install_copilot() {
|
||||||
local count=0
|
local count=0
|
||||||
mkdir -p "$dest"
|
mkdir -p "$dest"
|
||||||
local dir f first_line
|
local dir f first_line
|
||||||
for dir in design engineering marketing product project-management \
|
for dir in design engineering game-development marketing paid-media product project-management \
|
||||||
testing support spatial-computing specialized; do
|
testing support spatial-computing specialized; do
|
||||||
[[ -d "$REPO_ROOT/$dir" ]] || continue
|
[[ -d "$REPO_ROOT/$dir" ]] || continue
|
||||||
while IFS= read -r -d '' f; do
|
while IFS= read -r -d '' f; do
|
||||||
|
|
@ -293,7 +293,7 @@ install_copilot() {
|
||||||
[[ "$first_line" == "---" ]] || continue
|
[[ "$first_line" == "---" ]] || continue
|
||||||
cp "$f" "$dest/"
|
cp "$f" "$dest/"
|
||||||
(( count++ )) || true
|
(( count++ )) || true
|
||||||
done < <(find "$REPO_ROOT/$dir" -maxdepth 1 -name "*.md" -type f -print0)
|
done < <(find "$REPO_ROOT/$dir" -name "*.md" -type f -print0)
|
||||||
done
|
done
|
||||||
ok "Copilot: $count agents -> $dest"
|
ok "Copilot: $count agents -> $dest"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue