dev-playbooks-cn 1.6.3 → 1.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/install-skills.sh +11 -0
package/package.json
CHANGED
|
@@ -135,6 +135,17 @@ install_into() {
|
|
|
135
135
|
mkdir -p "$dest_root"
|
|
136
136
|
fi
|
|
137
137
|
|
|
138
|
+
# Install _shared directory (used by all skills for common references)
|
|
139
|
+
local shared_src="${src_root}/_shared"
|
|
140
|
+
if [[ -d "$shared_src" ]]; then
|
|
141
|
+
local shared_dest="${dest_root}/_shared"
|
|
142
|
+
if [[ "$dry_run" == true ]]; then
|
|
143
|
+
echo "[dry-run] install: $shared_src -> $shared_dest"
|
|
144
|
+
else
|
|
145
|
+
copy_dir "$shared_src" "$shared_dest"
|
|
146
|
+
fi
|
|
147
|
+
fi
|
|
148
|
+
|
|
138
149
|
for src in "${skill_dirs[@]}"; do
|
|
139
150
|
local name
|
|
140
151
|
name="$(basename "$src")"
|