You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,16 @@
2
2
3
3
## Unreleased
4
4
5
+
### Breaking Changes
6
+
7
+
- Renamed the `buildTarget` command line argument to `buildEnvironment`. [#1012](https://github.com/spatialos/gdk-for-unity/pull/1012)
8
+
5
9
### Added
6
10
7
11
- Added the `LinkedGameObjectMap` class for finding the `GameObject`(s) linked with a specified `EntityId`. [#1013](https://github.com/spatialos/gdk-for-unity/pull/1013)
8
12
- This can be used with the `[Require]` annotation to inject it into your `MonoBehaviours` provided you are using the `GameObjectCreation` feature module. For example: `[Require] private LinkedGameObjectMap gameObjectMap;`
13
+
- Added the ability for the build system to build specific targets of a given build environment. [#1012](https://github.com/spatialos/gdk-for-unity/pull/1012)
14
+
- Use the `buildTargetFilter` command line argument to pass in a comma delimited list of build targets to filter for. For example, `+buildTargetFilter win,macos`.
Copy file name to clipboardExpand all lines: UPGRADE_GUIDE.md
+27-3Lines changed: 27 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,29 @@
1
1
# Upgrade Guide
2
2
3
+
## From `0.2.4` to `0.2.5`
4
+
5
+
### Build system changes
6
+
7
+
When calling the build system from the command line, you must change the `buildTarget` argument to `buildEnvironment`. Previously you may have called the build system like so:
The `MobileConnectionFlowInitializer` constructortakesanynumberof `IMobileSettingsProvider` objectsandwillusethesetogetmobilespecificsettings (suchasthehostIPaddressforthereceptionist). Theorderinwhichyouprovidetheseobjects_doesmatter_asthefirstonetoreturnavalidsettingforeachsettingwillbeused. Weprovidetwoimplementationsofthisinterfaceinthemobilepackage, onefor command line arguments and one for player prefs.
dotnet test --logger:"nunit;LogFilePath=${CODE_GEN_LIB_TEST_RESULTS_FILE}" workers/unity/Packages/com.improbable.gdk.tools/.CodeGenerator/CodeGeneration/CodeGeneration.csproj
42
39
CODE_GEN_LIB_TEST_RESULT=$?
43
40
44
41
dotnet test --logger:"nunit;LogFilePath=${CODE_GENERATOR_TEST_RESULTS_FILE}" workers/unity/Packages/com.improbable.gdk.tools/.CodeGenerator/GdkCodeGenerator/GdkCodeGenerator.csproj
45
42
CODE_GENERATOR_TEST_RESULT=$?
46
43
47
-
markEndOfBlock "Code Generator Testing"
48
-
49
-
markStartOfBlock "Editmode Testing"
44
+
echo"Editmode Testing"
50
45
51
46
pushd"workers/unity"
52
47
dotnet run -p "${PROJECT_DIR}/.shared-ci/tools/RunUnity/RunUnity.csproj" -- \
@@ -60,11 +55,9 @@ pushd "workers/unity"
60
55
EDITMODE_TEST_RESULT=$?
61
56
popd
62
57
63
-
markEndOfBlock "Editmode Testing"
64
-
65
58
cleanUnity "$(pwd)/workers/unity"
66
59
67
-
markStartOfBlock"Playmode Testing"
60
+
echo"Playmode Testing"
68
61
69
62
pushd"workers/unity"
70
63
dotnet run -p "${PROJECT_DIR}/.shared-ci/tools/RunUnity/RunUnity.csproj" -- \
@@ -78,10 +71,9 @@ pushd "workers/unity"
78
71
PLAYMODE_TEST_RESULT=$?
79
72
popd
80
73
81
-
markEndOfBlock "Playmode Testing"
74
+
echo"Generated Code Testing"
82
75
83
76
pushd"test-project"
84
-
markStartOfBlock "Generated Code Testing"
85
77
dotnet run -p "${PROJECT_DIR}/.shared-ci/tools/RunUnity/RunUnity.csproj" -- \
0 commit comments