From 516e99bc41ed206ed1f210aaa042f205b4c2dc4b Mon Sep 17 00:00:00 2001 From: Steve Vermeulen Date: Sun, 7 Feb 2016 14:57:02 -0400 Subject: [PATCH] Fix to release script to include the integration tests --- Build/python/mtm/zen/CreateRelease.py | 4 + .../Readme.txt | 0 .../Readme.txt.meta | 0 .../UnitTests/Editor/Zenject-tests.csproj | 118 ++++++++++-------- .../Editor/Zenject-tests.csproj.user | 6 + .../Assets/Zenject/Source/Zenject.csproj | 49 +++++--- 6 files changed, 106 insertions(+), 71 deletions(-) rename UnityProject/Assets/Zenject/OptionalExtras/{UnitTests => IntegrationTests}/Readme.txt (100%) rename UnityProject/Assets/Zenject/OptionalExtras/{UnitTests => IntegrationTests}/Readme.txt.meta (100%) create mode 100644 UnityProject/Assets/Zenject/OptionalExtras/UnitTests/Editor/Zenject-tests.csproj.user diff --git a/Build/python/mtm/zen/CreateRelease.py b/Build/python/mtm/zen/CreateRelease.py index 9f023f5f7..36c8e2bdf 100644 --- a/Build/python/mtm/zen/CreateRelease.py +++ b/Build/python/mtm/zen/CreateRelease.py @@ -170,6 +170,10 @@ def _createCSharpPackage(self, includeSample, outputPath): self._sys.deleteDirectory('[ZenTempDir]/OptionalExtras/UnitTests') self._sys.removeFile('[ZenTempDir]/OptionalExtras/UnitTests.meta') + self._zipHelper.createZipFile('[ZenTempDir]/OptionalExtras/IntegrationTests', '[ZenTempDir]/OptionalExtras/IntegrationTests.zip') + self._sys.deleteDirectory('[ZenTempDir]/OptionalExtras/IntegrationTests') + self._sys.removeFile('[ZenTempDir]/OptionalExtras/IntegrationTests.meta') + self._zipHelper.createZipFile('[ZenTempDir]/OptionalExtras/AutoMocking', '[ZenTempDir]/OptionalExtras/AutoMocking.zip') self._sys.deleteDirectory('[ZenTempDir]/OptionalExtras/AutoMocking') self._sys.removeFile('[ZenTempDir]/OptionalExtras/AutoMocking.meta') diff --git a/UnityProject/Assets/Zenject/OptionalExtras/UnitTests/Readme.txt b/UnityProject/Assets/Zenject/OptionalExtras/IntegrationTests/Readme.txt similarity index 100% rename from UnityProject/Assets/Zenject/OptionalExtras/UnitTests/Readme.txt rename to UnityProject/Assets/Zenject/OptionalExtras/IntegrationTests/Readme.txt diff --git a/UnityProject/Assets/Zenject/OptionalExtras/UnitTests/Readme.txt.meta b/UnityProject/Assets/Zenject/OptionalExtras/IntegrationTests/Readme.txt.meta similarity index 100% rename from UnityProject/Assets/Zenject/OptionalExtras/UnitTests/Readme.txt.meta rename to UnityProject/Assets/Zenject/OptionalExtras/IntegrationTests/Readme.txt.meta diff --git a/UnityProject/Assets/Zenject/OptionalExtras/UnitTests/Editor/Zenject-tests.csproj b/UnityProject/Assets/Zenject/OptionalExtras/UnitTests/Editor/Zenject-tests.csproj index e0e166ba3..cd76f1c2a 100644 --- a/UnityProject/Assets/Zenject/OptionalExtras/UnitTests/Editor/Zenject-tests.csproj +++ b/UnityProject/Assets/Zenject/OptionalExtras/UnitTests/Editor/Zenject-tests.csproj @@ -88,6 +88,12 @@ + + + + + + @@ -95,60 +101,62 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - \ No newline at end of file + diff --git a/UnityProject/Assets/Zenject/OptionalExtras/UnitTests/Editor/Zenject-tests.csproj.user b/UnityProject/Assets/Zenject/OptionalExtras/UnitTests/Editor/Zenject-tests.csproj.user new file mode 100644 index 000000000..fe7dc2232 --- /dev/null +++ b/UnityProject/Assets/Zenject/OptionalExtras/UnitTests/Editor/Zenject-tests.csproj.user @@ -0,0 +1,6 @@ + + + + ShowAllFiles + + \ No newline at end of file diff --git a/UnityProject/Assets/Zenject/Source/Zenject.csproj b/UnityProject/Assets/Zenject/Source/Zenject.csproj index cd05c3789..b41009d89 100644 --- a/UnityProject/Assets/Zenject/Source/Zenject.csproj +++ b/UnityProject/Assets/Zenject/Source/Zenject.csproj @@ -121,6 +121,8 @@ + + @@ -130,35 +132,50 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -176,4 +193,4 @@ --> - \ No newline at end of file +