do not clean before package build (#175)

This commit is contained in:
Olcan 2025-04-25 13:01:40 -07:00 committed by GitHub
parent 415ec91c6d
commit 86c3a3234f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -21,13 +21,13 @@ if [[ $(pwd) != *"/packages/"* ]]; then
fi
# clean dist directory
rm -rf dist/*
# rm -rf dist/*
# build typescript files
tsc --build
# copy .{md,json} files (replace -q with -i to see itemized changes)
rsync -am -q --include='*.md' --include='*.json' --include='*/' --exclude='*' ./src/ ./dist/src/
rsync -aq --delete --include='*.md' --include='*.json' --include='*/' --exclude='*' ./src/ ./dist/src/
# touch dist/.last_build
touch dist/.last_build