mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-06 00:56:01 +08:00
modify build script to update Printrun instead of cloning it at each build
This commit is contained in:
parent
1b39f91a75
commit
9d9ac55cb8
14
build.sh
14
build.sh
@ -82,9 +82,14 @@ else
|
||||
fi
|
||||
|
||||
#Get our own version of Printrun
|
||||
rm -rf Printrun
|
||||
git clone git://github.com/daid/Printrun.git
|
||||
rm -rf Printrun/.git
|
||||
if [ ! -d "Printrun" ]; then
|
||||
git clone git://github.com/daid/Printrun.git
|
||||
else
|
||||
echo "Updating Printrun"
|
||||
cd Printrun
|
||||
git pull
|
||||
cd ..
|
||||
fi
|
||||
|
||||
#############################
|
||||
# Build the packages
|
||||
@ -135,7 +140,8 @@ rm -rf ${TARGET_DIR}/pypy/lib-python/2.7/test
|
||||
cp -a SkeinPyPy_NewUI ${TARGET_DIR}/SkeinPyPy
|
||||
|
||||
#add printrun
|
||||
mv Printrun ${TARGET_DIR}/Printrun
|
||||
cp -a Printrun ${TARGET_DIR}/Printrun
|
||||
rm -rf ${TARGET_DIR}/Printrun/.git*
|
||||
|
||||
#add script files
|
||||
if [ $BUILD_TARGET = "win32" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user