Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions SDKGenerator.njsproj
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@
<Content Include="targets\LuaSdk\GlobalFiles\_Build\CoronaPluginBuilders\server\tmp\build.bat" />
<Content Include="targets\LuaSdk\GlobalFiles\_Build\CoronaPluginBuilders\server\tmp\build.sh" />
<Content Include="targets\LuaSdk\GlobalFiles\_Build\Defold\BuildDefoldZips.bat" />
<Content Include="targets\LuaSdk\GlobalFiles\_Build\Defold\BuildDefoldZips.sh" />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stop

<Content Include="targets\LuaSdk\GlobalFiles\_Build\Defold\PlayFabClientSDK\PlayFabTesting\TestOutput.gui" />
<Content Include="targets\LuaSdk\GlobalFiles\_Build\Defold\PlayFabClientSDK\PlayFabTesting\TestPlayFabDefold.gui_script" />
<Content Include="targets\LuaSdk\LuaDist\PlayFab\PlayFabHttps_LuaSec.lua" />
Expand Down
27 changes: 27 additions & 0 deletions targets/LuaSdk/GlobalFiles/_Build/Defold/BuildDefoldZips.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash

pushd PlayFabClientSdk
rm -f ../../../Defold/PlayFabClientSdk.zip
cp -f PlayFabSdk.project game.project
cp -f ../../../README.md README.md
zip -r ../../../Defold/PlayFabClientSdk.zip README.md PlayFab game.project
rm -f ../../../Defold/PlayFabClientTestExample.zip
cp -f PlayFabTestExample.project game.project
zip -r ../../../Defold/PlayFabClientTestExample.zip ../../../README.md PlayFab PlayFabSdk.project PlayFabTesting game.project
popd

pushd PlayFabServerSdk
rm -f ../../../Defold/PlayFabServerSdk.zip
cp -f PlayFabSdk.project game.project
cp -f ../../../README.md README.md
zip -r ../../../Defold/PlayFabServerSdk.zip README.md PlayFab game.project
popd

pushd PlayFabSdk
rm -f ../../../Defold/PlayFabComboSdk.zip
cp -f PlayFabSdk.project game.project
cp -f ../../../README.md README.md
zip -r ../../../Defold/PlayFabComboSdk.zip README.md PlayFab game.project
popd

read -p "Press any key to continue..."