Commit 0bc8261e authored by Robin Fischer's avatar Robin Fischer

Update build-unity-package.sh

parent 5f92612a
......@@ -13,5 +13,7 @@ python3 BuuPackageManager/dependencyIntegrator.py $(pwd) $(pwd)/UnityProject/Ass
PACKAGE_PATH_LIST=$(cat includedPackagesPathList)
ROOT_PACKAGE_NAME=$(cat rootPackageName)
ROOT_PACKAGE_PATH=$(cat rootPackagePath)
echo "File content. ${ROOT_PACKAGE_NAME} and packages. ${PACKAGE_PATH_LIST}"
run-unity.sh "-batchmode -projectPath $(pwd)/UnityProject -exportPackage Assets/${ROOT_PACKAGE_PATH} $(pwd)/${ROOT_PACKAGE_NAME}.unitypackage -logFile -quit"
ROOT_PACKAGE_FIRST_NAMESPACE=$(cat rootPackageFirstNamespace)
echo "Root package: ${ROOT_PACKAGE_NAME} and dependencies: ${PACKAGE_PATH_LIST}"
echo "First namespace: ${ROOT_PACKAGE_FIRST_NAMESPACE}"
run-unity.sh "-batchmode -projectPath $(pwd)/UnityProject -exportPackage Assets/${ROOT_PACKAGE_FIRST_NAMESPACE} $(pwd)/${ROOT_PACKAGE_NAME}.unitypackage -logFile -quit"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment