-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Develop @8cd852bec5ba16c483361e01c94fff20e55adaef
- Loading branch information
1 parent
6510109
commit c16b055
Showing
1,297 changed files
with
78,643 additions
and
8,773 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
artifacts/** | ||
build/** | ||
.build_script/** | ||
node_modules/** | ||
.DS_Store | ||
.npmrc | ||
!Documentation~ | ||
!.Documentation | ||
npm-debug.log | ||
build.sh.meta | ||
build.bat.meta | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
artifacts/** | ||
build/** | ||
.build_script/** | ||
node_modules/** | ||
Documentation/ApiDocs/** | ||
Documentation~/ApiDocs/** | ||
.DS_Store | ||
.npmrc | ||
.npmignore | ||
.gitignore | ||
CONTRIBUTING.md | ||
CONTRIBUTING.md.meta | ||
QAReport.md | ||
QAReport.md.meta | ||
.gitlab-ci.yml | ||
build.sh | ||
build.sh.meta | ||
build.bat | ||
build.bat.meta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
test_platforms: | ||
- name: win | ||
type: Unity::VM | ||
image: package-ci/win10:stable | ||
flavor: b1.large | ||
runtime: playmode | ||
versions: [2020.3, 2021.1, trunk] | ||
platform: desktop | ||
components: | ||
- editor | ||
- il2cpp | ||
- name: mac | ||
type: Unity::VM::osx | ||
image: package-ci/mac:stable | ||
flavor: m1.mac | ||
runtime: playmode | ||
versions: [2020.3, 2021.1, trunk] | ||
platform: desktop | ||
components: | ||
- editor | ||
- il2cpp | ||
- name: ubuntu | ||
type: Unity::VM | ||
image: package-ci/ubuntu:stable | ||
flavor: b1.large | ||
runtime: playmode | ||
versions: [2020.3, 2021.1, trunk] | ||
platform: desktop | ||
components: | ||
- editor | ||
- name: centos | ||
type: Unity::VM::GPU | ||
image: package-ci/centos:stable | ||
flavor: b1.large | ||
runtime: playmode | ||
versions: [2020.3, 2021.1] | ||
platform: desktop | ||
components: | ||
- editor | ||
- name: iOS | ||
type: Unity::mobile::iPhone | ||
image: mobile/macos-10.15-testing:latest | ||
flavor: b1.medium | ||
versions: [2020.3, 2021.1, trunk] | ||
platform: iOS | ||
runtime: playmode | ||
components: | ||
- editor | ||
- il2cpp | ||
- name: Android | ||
type: Unity::mobile::shield | ||
image: mobile/android-execution-base:stable | ||
flavor: b1.medium | ||
versions: [2020.3, 2021.1, trunk] | ||
platform: android | ||
runtime: playmode | ||
components: | ||
- editor | ||
- il2cpp | ||
package-assembly: com.unity.gis.unit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{% metadata_file .yamato/environment.metafile -%} | ||
|
||
--- | ||
{% for platform in test_platforms -%} | ||
{% for version in platform.versions -%} | ||
test_coverage_{{ platform.name }}_{{ version }}: | ||
name : Test Coverage on {{ platform.name }} ({{ version }}) | ||
agent: | ||
type: {{ platform.type }} | ||
image: {{ platform.image }} | ||
flavor: {{ platform.flavor}} | ||
commands: | ||
{% if platform.platform == "desktop" %}- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm | ||
- upm-ci package test -u {{ version }} --platform {{ platform.runtime }} --type isolation-tests --extra-create-project-arg=-upmNoDefaultPackages --enable-code-coverage --code-coverage-options 'generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+{{ package-assembly }}*' | ||
{% else %}- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade | ||
- unity-downloader-cli -c Editor -c {{ platform.name }} -c il2cpp -u trunk --fast --wait | ||
- curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr{% if platform.name == "Android" %}.bat{% endif %} --output utr{% if platform.name == "Android" %}.bat{% endif %}{% if platform.name == "iOS" %} | ||
- chmod +x ./utr{% endif %} | ||
- ./utr{% if platform.name == "Android" %}.bat{% endif %} --suite=playmode --platform={{ platform.name }} --editor-location=.Editor --testproject=TestProject --player-save-path=build/players --artifacts_path=build/logs --build-only | ||
- | | ||
{% if platform.name == "Android" %}set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP% | ||
start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP% | ||
start %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices | ||
{% endif %}./utr --suite=playmode --platform={{ platform.name }} --player-load-path=build/players --artifacts_path=build/test-results | ||
{% endif %} | ||
artifacts: | ||
logs: | ||
paths: | ||
- "{% if platform.platform == "desktop" %}upm-ci~{% else %}build{% endif %}/test-results/**/*" | ||
dependencies: | ||
- .yamato/package-pack.yml#pack | ||
{% endfor -%} | ||
{% endfor -%} | ||
|
||
{% for platform in test_platforms -%} | ||
tests_coverage_all_{{ platform.name }}: | ||
name: _Run All Coverage Tests ({{ platform.name }}) | ||
dependencies: | ||
- .yamato/package-pack.yml#pack | ||
{% for version in platform.versions -%} | ||
- .yamato/package-coverage.yml#test_coverage_{{ platform.name }}_{{ version }} | ||
{% endfor -%} | ||
{% endfor -%} | ||
|
||
test_trigger: | ||
name: Package Tests Trigger | ||
triggers: | ||
branches: | ||
only: | ||
- "master" | ||
pull_requests: | ||
- targets: | ||
only: | ||
- "/.*/" | ||
dependencies: | ||
- .yamato/package-pack.yml#pack | ||
{% for platform in test_platforms -%} | ||
{% for version in platform.versions -%} | ||
- .yamato/package-coverage.yml#test_coverage_{{platform.name}}_{{version}} | ||
{% endfor -%} | ||
{% endfor -%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
pack: | ||
name: Pack | ||
agent: | ||
type: Unity::VM | ||
image: package-ci/ubuntu:stable | ||
flavor: b1.large | ||
commands: | ||
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm | ||
- upm-ci package pack | ||
artifacts: | ||
packages: | ||
paths: | ||
- "upm-ci~/packages/**/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Changelog | ||
All notable changes to this package will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||
|
||
## [0.2.0] - 2022-10-20 | ||
|
||
This update adds formatting tools for Units to aid in converting and casting units from one value to other values. | ||
|
||
### Added | ||
- Format Providers | ||
- UnitFormatter | ||
- FractionalUnitFormatter | ||
- MultiUnitFormatter | ||
- MultiFractionalUnitFormatter | ||
- Mixed number support when parsing units | ||
- Rich text is now stripped before units are parsed | ||
- Unit and UnitDef's ToString and ToFullString now accept a Format provider, defaulting to UnitFormatter. | ||
|
||
## [Unreleased] | ||
|
||
### Modified | ||
|
||
- [Breaking] Changed the UnitDef constructor signatures by creating the new UnitNaming struct. | ||
|
||
## [0.1.0] - 2021-11-10 | ||
|
||
### Added | ||
|
||
This is the first release of *Unity Package Geospatial Unit*. | ||
|
||
Initial release | ||
|
||
Implemented the following unit types: | ||
- Angle | ||
- AngularArea | ||
- Area | ||
- Currency | ||
- Frequency | ||
- Length | ||
- Mass | ||
- Radioactivity | ||
- SubstanceAmount | ||
- Temperature | ||
- Time | ||
- Volume |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Contributing | ||
|
||
## If you are interested in contributing, here are some ground rules: | ||
* ... Define guidelines & rules for what contributors need to know to successfully make Pull requests against your repo ... | ||
|
||
## All contributions are subject to the [Unity Contribution Agreement(UCA)](https://unity3d.com/legal/licenses/Unity_Contribution_Agreement) | ||
By making a pull request, you are confirming agreement to the terms and conditions of the UCA, including that your Contributions are your original creation and that you have complete right and authority to make your Contributions. | ||
|
||
## Once you have a change ready following these ground rules. Simply make a pull request |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
Packages/com.unity.gis.unit/Documentation~/TableOfContents.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
* [UPM Package Starter Kit](index) | ||
* [Guide for features packages](tools-package-guide) | ||
* [Guide for sample packages](sample-package-guide) | ||
* [Guide for test packages](test-package-guide) |
Binary file added
BIN
+29.4 KB
Packages/com.unity.gis.unit/Documentation~/images/MultiPage_TOC-structure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.