Updated the enable gem and disable gem API (#54)
* Updated the enable gem and disable gem API Renamed remove_gem_project.py -> disable_gem.py Renamed add_gem_project.py -> enable_gem.py Renamed the "add-gem-to-project" command -> "enable-gem" Renamed the "remove-gem-from-project" command -> "disable-gem" Fixed the parsing of the enabled gems from the enabled_gems.cmake file * Adding newline to the end of the CMakeLists.txt
This commit is contained in:
committed by
GitHub
parent
f9b2517ea3
commit
394ac7ab6a
+3
-3
@@ -32,7 +32,7 @@ def add_args(parser, subparsers) -> None:
|
||||
# add the scripts/o3de directory to the front of the sys.path
|
||||
sys.path.insert(0, str(o3de_package_dir))
|
||||
from o3de import engine_template, global_project, register, print_registration, get_registration, download, \
|
||||
add_gem_project, remove_gem_project, sha256
|
||||
enable_gem, disable_gem, sha256
|
||||
# Remove the temporarily added path
|
||||
sys.path = sys.path[1:]
|
||||
|
||||
@@ -54,10 +54,10 @@ def add_args(parser, subparsers) -> None:
|
||||
download.add_args(subparsers)
|
||||
|
||||
# add a gem to a project
|
||||
add_gem_project.add_args(subparsers)
|
||||
enable_gem.add_args(subparsers)
|
||||
|
||||
# remove a gem from a project
|
||||
remove_gem_project.add_args(subparsers)
|
||||
disable_gem.add_args(subparsers)
|
||||
|
||||
# sha256
|
||||
sha256.add_args(subparsers)
|
||||
|
||||
Reference in New Issue
Block a user