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
Small utility to incrementing the version of package.
- 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" ],
-
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 ofscopedRegistries
.- Ensure
at.innerspace
is part ofscopes
.
- Ensure
- Add
"eu.innerspace.unitypackagehelper": "https://github.com/innerspacetrainings/UnityPackageHelper.git?path=Assets/Package"
todependencies
.
{ "scopedRegistries": [ { "name": "package.openupm.com", "url": "https://package.openupm.com", "scopes": [ "com.openupm", "at.innerspace" ] } ] }
- Ensure
-
Switch back to the Unity software and wait for it to finish importing the added package.