mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
do not clean before package build (#175)
This commit is contained in:
@@ -21,13 +21,13 @@ if [[ $(pwd) != *"/packages/"* ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# clean dist directory
|
# clean dist directory
|
||||||
rm -rf dist/*
|
# rm -rf dist/*
|
||||||
|
|
||||||
# build typescript files
|
# build typescript files
|
||||||
tsc --build
|
tsc --build
|
||||||
|
|
||||||
# copy .{md,json} files (replace -q with -i to see itemized changes)
|
# 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
|
||||||
touch dist/.last_build
|
touch dist/.last_build
|
||||||
|
|||||||
Reference in New Issue
Block a user