Skip to content

Version manager for unity package, DTValidator and package validation tests.

License

Notifications You must be signed in to change notification settings

innerspacetrainings/UnityPackageHelper

Repository files navigation

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.

About

Version manager for unity package, DTValidator and package validation tests.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages