Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.67 KB

File metadata and controls

49 lines (37 loc) · 1.67 KB

UnityPackageHelper

Test runner

Includes version manager for package, DTValidator test and package validation tests.

Note: This package will only work if Package.json is present in Assets/Package

Version Manager

Small utility to incrementing the version of package.

Usage

  • If you want to change the version, you can open the utility window at Innerspace > Version Manager.
  • Unit tests can enabled by adding following line to testables.
    "testables": [
      "eu.innerspace.unitypackagehelper"
    ],

Installation

Adding the package to the Unity project manifest

  • Navigate to the Packages directory of your project.

  • Adjust the project manifest file manifest.json in a text editor.

    • Ensure https://package.openupm.com is part of scopedRegistries.
      • Ensure at.innerspace is part of scopes.
    • Add "eu.innerspace.unitypackagehelper": "https://github.com/innerspacetrainings/UnityPackageHelper.git?path=Assets/Package" to dependencies.
    {
      "scopedRegistries": [
        {
          "name": "package.openupm.com",
          "url": "https://package.openupm.com",
          "scopes": [
            "com.openupm",
            "at.innerspace"
          ]
        }
      ]
    }
  • Switch back to the Unity software and wait for it to finish importing the added package.