mirror of
https://github.com/element-plus/element-plus.git
synced 2025-04-06 16:30:35 +08:00
fix(build): fix build script (#2683)
* fix(build): fix build script - Replace cp command with rsync * update build script
This commit is contained in:
parent
a846c08a56
commit
426bbf2afe
@ -31,8 +31,9 @@ yarn build:helper
|
||||
echo "Copying types"
|
||||
# Post build cp type definitions
|
||||
touch temp
|
||||
find ./dist -type d ! -name 'element-plus' -depth 1 -print0 | xargs -0 -I {} sh -c "basename {}" > temp
|
||||
|
||||
cd ./dist
|
||||
find . -maxdepth 1 ! -path . -type d ! -name 'element-plus' -print0 | xargs -0 -I {} sh -c "basename {}" > ../temp
|
||||
cd -
|
||||
input="./temp"
|
||||
|
||||
mkdir -p tempDir
|
||||
|
Loading…
x
Reference in New Issue
Block a user