Merge pull request #99 from onerain88/pack-unity
chore: pack unity with link.xml
commit
bfe8c60870
|
@ -37,7 +37,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Newtonsoft.Json">
|
<Reference Include="Newtonsoft.Json">
|
||||||
<HintPath>..\..\UnityLibs\Newtonsoft.Json.dll</HintPath>
|
<HintPath>..\..\Unity\Newtonsoft.Json.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Newtonsoft.Json">
|
<Reference Include="Newtonsoft.Json">
|
||||||
<HintPath>..\..\UnityLibs\Newtonsoft.Json.dll</HintPath>
|
<HintPath>..\..\Unity\Newtonsoft.Json.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -123,7 +123,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Newtonsoft.Json">
|
<Reference Include="Newtonsoft.Json">
|
||||||
<HintPath>..\..\UnityLibs\Newtonsoft.Json.dll</HintPath>
|
<HintPath>..\..\Unity\Newtonsoft.Json.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -149,12 +149,12 @@
|
||||||
<Link>LCStatusQuery.cs</Link>
|
<Link>LCStatusQuery.cs</Link>
|
||||||
</Compile>
|
</Compile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="Newtonsoft.Json">
|
|
||||||
<HintPath>..\..\UnityLibs\Newtonsoft.Json.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\..\Common\Common-Unity\Common-Unity.csproj" />
|
<ProjectReference Include="..\..\Common\Common-Unity\Common-Unity.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="Newtonsoft.Json">
|
||||||
|
<HintPath>..\..\Unity\Newtonsoft.Json.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
<linker>
|
||||||
|
<assembly fullname="Common" preserve="all"/>
|
||||||
|
<assembly fullname="Storage" preserve="all"/>
|
||||||
|
<assembly fullname="Realtime" preserve="all"/>
|
||||||
|
<assembly fullname="LiveQuery" preserve="all"/>
|
||||||
|
</linker>
|
|
@ -4,20 +4,24 @@ pack() {
|
||||||
local path=$1;
|
local path=$1;
|
||||||
local dir=$2;
|
local dir=$2;
|
||||||
local output=$3;
|
local output=$3;
|
||||||
|
local copyLink=$4;
|
||||||
mkdir $dir
|
mkdir $dir
|
||||||
rsync -avz $path $dir
|
rsync -avz $path $dir
|
||||||
|
if [ $copyLink == true ] ; then
|
||||||
|
cp ./Unity/link.xml $dir
|
||||||
|
fi
|
||||||
zip -r $output $dir
|
zip -r $output $dir
|
||||||
rm -r $dir
|
rm -r $dir
|
||||||
}
|
}
|
||||||
|
|
||||||
# Storage
|
# Storage
|
||||||
pack ./Storage/Storage/bin/Release/netstandard2.0/ ./DLLs LeanCloud-SDK-Storage-Standard.zip
|
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
|
pack ./Storage/Storage-Unity/bin/Release/netstandard2.0/ ./Plugins LeanCloud-SDK-Storage-Unity.zip true
|
||||||
|
|
||||||
# Realtime
|
# Realtime
|
||||||
pack ./Realtime/Realtime/bin/Release/netstandard2.0/ ./DLLs LeanCloud-SDK-Realtime-Standard.zip
|
pack ./Realtime/Realtime/bin/Release/netstandard2.0/ ./DLLs LeanCloud-SDK-Realtime-Standard.zip
|
||||||
pack ./Realtime/Realtime-Unity/bin/Release/netstandard2.0/ ./Plugins LeanCloud-SDK-Realtime-Unity.zip
|
pack ./Realtime/Realtime-Unity/bin/Release/netstandard2.0/ ./Plugins LeanCloud-SDK-Realtime-Unity.zip true
|
||||||
|
|
||||||
# LiveQuery
|
# LiveQuery
|
||||||
pack ./LiveQuery/LiveQuery/bin/Release/netstandard2.0/ ./DLLs LeanCloud-SDK-LiveQuery-Standard.zip
|
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
|
pack ./LiveQuery/LiveQuery-Unity/bin/Release/netstandard2.0/ ./Plugins LeanCloud-SDK-LiveQuery-Unity.zip true
|
Loading…
Reference in New Issue