Removed the add_external_subdirectory and add_gem_cmake python scripts

as well as their remove counterparts.

Updated teh register.py script to be able to register subdirectories to
the o3de_manifest.json
Also added the ability to register external subdirectories to the
project.json if the --external-subdirectory-project-path is supplied
Added the ability to register external subdirectories to the engine.json
if the --external-subdirector-engine-path is supplied
This commit is contained in:
lumberyard-employee-dm
2021-05-24 22:49:37 -05:00
parent 76985602ce
commit d3fb2dd68c
9 changed files with 203 additions and 782 deletions
+1 -14
View File
@@ -40,8 +40,7 @@ def add_args(parser, subparsers) -> None:
sys.path.remove(str(script_abs_dir.resolve()))
from o3de import engine_template, global_project, register, print_registration, get_registration, download, \
add_external_subdirectory, remove_external_subdirectory, add_gem_cmake, remove_gem_cmake, add_gem_project, \
remove_gem_project, sha256
add_gem_project, remove_gem_project, sha256
if script_abs_dir_removed:
sys.path.insert(0, str(script_abs_dir))
@@ -65,18 +64,6 @@ def add_args(parser, subparsers) -> None:
# download
download.add_args(subparsers)
# add external subdirectories
add_external_subdirectory.add_args(subparsers)
# remove external subdirectories
remove_external_subdirectory.add_args(subparsers)
# add gems to cmake
add_gem_cmake.add_args(subparsers)
# remove gems from cmake
remove_gem_cmake.add_args(subparsers)
# add a gem to a project
add_gem_project.add_args(subparsers)