do not clean before package build (#175)
This commit is contained in:
parent
415ec91c6d
commit
86c3a3234f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue