package.sh 1.2 KB

12345678910111213141516171819202122232425
  1. #
  2. # Copyright (c) Contributors to the Open 3D Engine Project.
  3. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. #
  5. # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. #
  7. #
  8. # This script is meant to export the project into a standalone shippable project that others can run.
  9. # However, the project developer is expected to modify it to add steps or change it to their needs.
  10. # To get more information about the possible tweakable parameters, run
  11. # (engine folder)/scripts/o3de.sh export-project -es ExportScripts/export_source_built_project.py --script-help
  12. O3DE_PATH=${EnginePath}
  13. O3DE_PROJECT_PATH=${ProjectPath}
  14. O3DE_PROJECT_SEEDLIST=${O3DE_PROJECT_PATH}/AssetBundling/SeedLists/Example.seed
  15. OUTPUT_PATH=${O3DE_PROJECT_PATH}/ProjectPackages
  16. # change this to release or debug if you want it to make a release or debug package
  17. # (Only works if the installer you have actually includes release and debug binaries)
  18. OUTPUT_CONFIGURATION=profile
  19. ${O3DE_PATH}/scripts/o3de.sh export-project -es ExportScripts/export_source_built_project.py --project-path ${O3DE_PROJECT_PATH} --no-monolithic-build --log-level INFO -assets --config ${OUTPUT_CONFIGURATION} --archive-output gztar --seedlist ${O3DE_PROJECT_SEEDLIST} -out ${OUTPUT_PATH}