2019-07-19 16:58:44 +08:00
|
|
|
#!/bin/sh
|
2019-07-22 11:54:20 +08:00
|
|
|
|
2020-04-30 15:36:06 +08:00
|
|
|
pack() {
|
|
|
|
local path=$1;
|
|
|
|
local dir=$2;
|
|
|
|
local output=$3;
|
|
|
|
mkdir $dir
|
|
|
|
rsync -avz $path $dir
|
|
|
|
zip -r $output $dir
|
|
|
|
rm -r $dir
|
|
|
|
}
|
|
|
|
|
|
|
|
# Storage
|
|
|
|
pack ./Storage/Storage/bin/Release/netstandard2.0/ ./DLLs LeanCloud-SDK-Storage-Standard.zip
|
|
|
|
pack ./Storage/Storage-Unity/bin/Release/netstandard2.0/ ./Plugins LeanCloud-SDK-Storage-Unity.zip
|
|
|
|
|
|
|
|
# Realtime
|
|
|
|
pack ./Realtime/Realtime/bin/Release/netstandard2.0/ ./DLLs LeanCloud-SDK-Realtime-Standard.zip
|
2020-05-13 17:38:33 +08:00
|
|
|
pack ./Realtime/Realtime-Unity/bin/Release/netstandard2.0/ ./Plugins LeanCloud-SDK-Realtime-Unity.zip
|
|
|
|
|
|
|
|
# LiveQuery
|
|
|
|
pack ./LiveQuery/LiveQuery/bin/Release/netstandard2.0/ ./DLLs LeanCloud-SDK-LiveQuery-Standard.zip
|
|
|
|
pack ./LiveQuery/LiveQuery-Unity/bin/Release/netstandard2.0/ ./Plugins LeanCloud-SDK-LiveQuery-Unity.zip
|