Skip to content

Commit d11088c

Browse files
authored
refactor: remove Unity.Collections package dependency (#441)
* refactor: remove Unity.Collections package dependency * refactor: remove DataStreamTests * refactor: comment a note inline for future reference
1 parent 78b0b9a commit d11088c

8 files changed

Lines changed: 20 additions & 872 deletions

File tree

com.unity.multiplayer.mlapi/Runtime/Serialization/DataStream.cs

Lines changed: 0 additions & 661 deletions
This file was deleted.

com.unity.multiplayer.mlapi/Runtime/com.unity.multiplayer.mlapi.runtime.asmdef

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"name": "Unity.Multiplayer.MLAPI.Runtime",
33
"rootNamespace": "MLAPI",
4-
"references": [
5-
"GUID:e0cd26848372d4e5c891c569017e11f1"
6-
],
4+
"references": [],
75
"includePlatforms": [],
86
"excludePlatforms": [],
97
"allowUnsafeCode": true,

com.unity.multiplayer.mlapi/Tests/Editor/DataStreamTests.cs

Lines changed: 0 additions & 189 deletions
This file was deleted.

com.unity.multiplayer.mlapi/Tests/Editor/DataStreamTests.cs.meta

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using NUnit.Framework;
2+
3+
namespace MLAPI.Tests
4+
{
5+
public class PlaceholderTests
6+
{
7+
[Test]
8+
public void Foo()
9+
{
10+
// (JIRA) MTT-408: [Spike] Identify testing requirements
11+
// We will move towards more and more automated tests soon.
12+
// Let's keep this here for now, as a reminder :)
13+
}
14+
}
15+
}

com.unity.multiplayer.mlapi/Runtime/Serialization/DataStream.cs.meta renamed to com.unity.multiplayer.mlapi/Tests/Editor/Placeholder.cs.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"name": "Unity.Multiplayer.MLAPI.EditorTests",
33
"references": [
4-
"Unity.Collections",
5-
"Unity.Mathematics",
64
"Unity.Multiplayer.MLAPI.Runtime"
75
],
86
"optionalUnityReferences": [
@@ -11,6 +9,5 @@
119
"includePlatforms": [
1210
"Editor"
1311
],
14-
"excludePlatforms": [],
15-
"allowUnsafeCode": true
12+
"excludePlatforms": []
1613
}

com.unity.multiplayer.mlapi/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"type": "library",
1212
"hideInEditor": false,
1313
"dependencies": {
14-
"com.unity.nuget.mono-cecil": "1.10.1-preview.1",
15-
"com.unity.collections": "0.9.0-preview.6"
14+
"com.unity.nuget.mono-cecil": "1.10.1-preview.1"
1615
}
17-
}
16+
}

0 commit comments

Comments
 (0)