From fd223882afe207605b49d1827583e6fef7dc91af Mon Sep 17 00:00:00 2001 From: Koji Hasegawa Date: Tue, 1 Oct 2024 22:04:37 +0900 Subject: [PATCH 1/2] Add `@stable` virtual dist-tag when installing test-framework package After July 2024, specifying the `@latest` dist-tag (default) will install the test-framework package v2. `@stable` virtual dist-tag is support from opeupm-cli v4.3.0 or later. see: https://github.com/openupm/openupm-cli/issues/395 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9bdb226..d182a89 100644 --- a/Makefile +++ b/Makefile @@ -97,7 +97,7 @@ create_project: -batchmode \ -quit touch UnityProject~/Assets/.gitkeep - openupm -c $(PROJECT_HOME) add -f com.unity.test-framework + openupm -c $(PROJECT_HOME) add -f com.unity.test-framework@stable openupm -c $(PROJECT_HOME) add -f com.unity.testtools.codecoverage openupm -c $(PROJECT_HOME) add -f com.cysharp.unitask openupm -c $(PROJECT_HOME) add -f com.nowsprinting.test-helper.monkey From 3fa514a7f690f12b065ea720218f17dccb06f9d0 Mon Sep 17 00:00:00 2001 From: Koji Hasegawa Date: Wed, 2 Oct 2024 23:53:27 +0900 Subject: [PATCH 2/2] Mod openupm command option `-c` option has been changed from global to local option of add/remove subcommands. see: https://github.com/openupm/openupm-cli/discussions/408 --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index d182a89..469b716 100644 --- a/Makefile +++ b/Makefile @@ -96,13 +96,13 @@ create_project: -createProject $(PROJECT_HOME) \ -batchmode \ -quit - touch UnityProject~/Assets/.gitkeep - openupm -c $(PROJECT_HOME) add -f com.unity.test-framework@stable - openupm -c $(PROJECT_HOME) add -f com.unity.testtools.codecoverage - openupm -c $(PROJECT_HOME) add -f com.cysharp.unitask - openupm -c $(PROJECT_HOME) add -f com.nowsprinting.test-helper.monkey - openupm -c $(PROJECT_HOME) add -f com.nowsprinting.test-helper.random - openupm -c $(PROJECT_HOME) add -ft $(PACKAGE_NAME)@file:../../ + touch $(PROJECT_HOME)/Assets/.gitkeep + openupm add -c $(PROJECT_HOME) -f com.unity.test-framework@stable + openupm add -c $(PROJECT_HOME) -f com.unity.testtools.codecoverage + openupm add -c $(PROJECT_HOME) -f com.cysharp.unitask + openupm add -c $(PROJECT_HOME) -f com.nowsprinting.test-helper.monkey + openupm add -c $(PROJECT_HOME) -f com.nowsprinting.test-helper.random + openupm add -c $(PROJECT_HOME) -ft $(PACKAGE_NAME)@file:../../ .PHONY: remove_project remove_project: