feat(*): 模型协议 - 升级声明式协议、扩充官方插件并完善生成任务恢复
This commit is contained in:
1 parent
3f4a9ea3d0
commit
4724f0767b
132 files changed
+4576
-1420
No files matched your search
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
root_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
||||
|
||||
node "$root_dir/embed-documentation.mjs"
|
||||
|
||||
for manifest in "$root_dir"/*/manifest.json; do
|
||||
package_dir=${manifest%/manifest.json}
|
||||
package_id=${package_dir##*/}
|
||||
output_file="$root_dir/$package_id.yingce-plugin"
|
||||
temporary_file="$root_dir/.$package_id.yingce-plugin.tmp"
|
||||
rm -f "$temporary_file"
|
||||
(
|
||||
cd "$package_dir"
|
||||
find manifest.json README.md docs assets web LICENSE -type f 2>/dev/null | LC_ALL=C sort | zip -X -q "$temporary_file" -@
|
||||
)
|
||||
mv "$temporary_file" "$output_file"
|
||||
done
|
||||
Reference in new issue
Block a user