Add "Registry" folders as scan folders (#4583)

* Add "Registry" folders as scan folders

For projects, Gems, and Engine, add the "Registry" folder as scan
folders.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>

* Change params for adding scan folder

Also add trailing newlines to setreg files.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>

* Adjust the priority order for project templates

Scan folder orders were way too high, they should be very low to become
highest priority order.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>

* Removes change of default assets folder to Assets

Need to revert this change so it can be done separately.
Renamed the scan folder to 'Project/Assets' to prep for Assets folder
change later on.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>

* Update platform configuration test to pass

Adjusted expectation of scan folder count from 1 to 2 per Gem for
'Assets' and 'Registry' now.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
This commit is contained in:
amzn-phist
2021-10-13 16:46:30 -05:00
committed by GitHub
parent 0217f45f3f
commit 80dcc34e6f
6 changed files with 72 additions and 29 deletions
+6 -1
View File
@@ -106,7 +106,7 @@
// "exclude": "mac"
// }
"ScanFolder Game": {
"ScanFolder Project/Assets": {
"watch": "@PROJECTROOT@",
"display": "@PROJECTNAME@",
"recursive": 1,
@@ -129,6 +129,11 @@
"order": 30000,
"include": "tools,renderer"
},
"ScanFolder Engine/Registry": {
"watch": "@ENGINEROOT@/Registry",
"recursive": 1,
"order": 40000
},
// Excludes files that match the pattern or glob
// if you use a pattern, remember to escape your backslashes (\\)