unity-devkit 0.1.2__py3-none-any.whl → 0.1.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- unity_devkit/build_unity.py +11 -10
- {unity_devkit-0.1.2.dist-info → unity_devkit-0.1.4.dist-info}/METADATA +1 -1
- {unity_devkit-0.1.2.dist-info → unity_devkit-0.1.4.dist-info}/RECORD +7 -7
- {unity_devkit-0.1.2.dist-info → unity_devkit-0.1.4.dist-info}/WHEEL +0 -0
- {unity_devkit-0.1.2.dist-info → unity_devkit-0.1.4.dist-info}/entry_points.txt +0 -0
- {unity_devkit-0.1.2.dist-info → unity_devkit-0.1.4.dist-info}/licenses/LICENSE +0 -0
- {unity_devkit-0.1.2.dist-info → unity_devkit-0.1.4.dist-info}/licenses/NOTICE +0 -0
unity_devkit/build_unity.py
CHANGED
|
@@ -4,6 +4,7 @@ import json
|
|
|
4
4
|
import os
|
|
5
5
|
import shutil
|
|
6
6
|
from pathlib import Path
|
|
7
|
+
from typing import Annotated
|
|
7
8
|
|
|
8
9
|
import typer
|
|
9
10
|
from pydantic_settings import BaseSettings
|
|
@@ -28,16 +29,16 @@ app = typer.Typer(add_completion=False, pretty_exceptions_show_locals=False)
|
|
|
28
29
|
|
|
29
30
|
@app.command()
|
|
30
31
|
def main(
|
|
31
|
-
project: str
|
|
32
|
-
project_path: Path
|
|
33
|
-
platform: str
|
|
34
|
-
cache_key: str
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
build_env:
|
|
39
|
-
|
|
40
|
-
|
|
32
|
+
project: Annotated[str, typer.Option(help="Project name")],
|
|
33
|
+
project_path: Annotated[Path, typer.Option(help="Path to Unity project")],
|
|
34
|
+
platform: Annotated[str, typer.Option(help="Target platform")],
|
|
35
|
+
cache_key: Annotated[str, typer.Option(help="Cache key prefix")],
|
|
36
|
+
registry: Annotated[str, typer.Option(help="OCI registry path")],
|
|
37
|
+
run_number: Annotated[int, typer.Option(help="CI run number")] = 0,
|
|
38
|
+
branch: Annotated[str, typer.Option(help="Git branch name")] = "dev",
|
|
39
|
+
build_env: Annotated[
|
|
40
|
+
str, typer.Option(help="Newline-separated KEY=VALUE pairs injected into the Unity build process environment")
|
|
41
|
+
] = "",
|
|
41
42
|
) -> None:
|
|
42
43
|
for line in build_env.splitlines():
|
|
43
44
|
entry = line.strip()
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
unity_devkit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
unity_devkit/build_unity.py,sha256=
|
|
2
|
+
unity_devkit/build_unity.py,sha256=2DWbaI8UROzGS_iKa-mXjD7jzNxPNyQvHSa6F_2t-c0,4197
|
|
3
3
|
unity_devkit/compile_unity.py,sha256=ktcZIdjUIODyJbXG4iHbRNmiIkY4bwF4jujnT-oIUBs,1789
|
|
4
4
|
unity_devkit/install.py,sha256=1pgtRo3AMOJf-Zpe--AocXr_QkONrf4iSd6WgWXkE0A,6988
|
|
5
5
|
unity_devkit/license.py,sha256=O4d66mWLcmxsHXsiv3coUWlu38-ZAJaDsAsmARY9G1Y,1544
|
|
@@ -10,9 +10,9 @@ unity_devkit/projects.py,sha256=pWk6klQJ5_cdT8gcwQTkB1dK7y7UuNTk5NHYUCLvBuI,1941
|
|
|
10
10
|
unity_devkit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
unity_devkit/test_unity.py,sha256=Zdr-e2Qx_OgC1huAT_ZgL_YgKnu4FjCRJEhTW7pXMyQ,1068
|
|
12
12
|
unity_devkit/unity.py,sha256=ST5c224jhGdLZJNXI1A7kPj3cxbcfY2j_5b96rpzyJs,6775
|
|
13
|
-
unity_devkit-0.1.
|
|
14
|
-
unity_devkit-0.1.
|
|
15
|
-
unity_devkit-0.1.
|
|
16
|
-
unity_devkit-0.1.
|
|
17
|
-
unity_devkit-0.1.
|
|
18
|
-
unity_devkit-0.1.
|
|
13
|
+
unity_devkit-0.1.4.dist-info/METADATA,sha256=nDggGDcLH6FikAG7jjVwQszswPIAqZWIVZ9hbLOyZjo,351
|
|
14
|
+
unity_devkit-0.1.4.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
15
|
+
unity_devkit-0.1.4.dist-info/entry_points.txt,sha256=RKjFLiz02NSodLcgVDp8pnYX6zEa7VhrH_1GXnnt9d8,381
|
|
16
|
+
unity_devkit-0.1.4.dist-info/licenses/LICENSE,sha256=RFhQPdSOiMTguUX7JSoIuTxA7HVzCbj_p8WU36HjUQQ,10947
|
|
17
|
+
unity_devkit-0.1.4.dist-info/licenses/NOTICE,sha256=jvglZza3GCdN7v4_TLuXUqX9C_uABlwAKUkcIeKwk_8,26
|
|
18
|
+
unity_devkit-0.1.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|