Skip to content

Commit b8afd27

Browse files
committed
chore: trim package release contents
1 parent 1de7511 commit b8afd27

2 files changed

Lines changed: 18 additions & 4 deletions

File tree

justfile

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,21 @@ package target="@local":
6363
echo "Packaging $PKG_PREFIX v$VERSION to $TARGET"
6464
mkdir -p "$TARGET"
6565
66-
# 使用 rsync 复制所有需要打包的文件,排除不必要的文件和文件夹
67-
rsync -a --exclude '.git' --exclude '.github' --exclude 'scripts' --exclude 'justfile' --exclude 'out' --exclude 'dist' ./ "$TARGET/"
66+
rsync -a \
67+
--exclude '.git' \
68+
--exclude '.github' \
69+
--exclude '.gitignore' \
70+
--exclude '.gitmodules' \
71+
--exclude '.typstignore' \
72+
--exclude 'crates' \
73+
--exclude 'dist' \
74+
--exclude 'examples' \
75+
--exclude 'out' \
76+
--exclude 'scripts' \
77+
--exclude 'target' \
78+
--exclude 'tests' \
79+
--exclude 'umya-spreadsheet' \
80+
--exclude 'justfile' \
81+
./ "$TARGET/"
6882
69-
echo "Successfully packaged to $TARGET"
83+
echo "Successfully packaged to $TARGET"

typst.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ license = "MIT"
88
repository = "https://github.com/hongjr03/typst-rexllent"
99
categories = ["visualization", "utility"]
1010
keywords = ["excel", "table"]
11-
exclude = ["assets", "examples", "tests"]
11+
exclude = ["assets", "examples", "tests", "crates"]

0 commit comments

Comments
 (0)