moltenvk/Scripts/update_latest.sh
Bill Hollings e721dd6e2c Update build process.
Allow building and packaging MoltenVK for of only iOS or only macOS.
Move packaging scripts out of Xcode projects and into script files.
2018-09-07 11:46:58 -04:00

15 lines
368 B
Bash
Executable File

#!/bin/bash
set -e
# Package folder
export MVK_WKSPC_LOCN="${PROJECT_DIR}"
export MVK_PKG_LOCN="${MVK_WKSPC_LOCN}/Package"
# Configuration package folder location
export MVK_PKG_CONFIG_LOCN="${CONFIGURATION}"
export MVK_PKG_LATEST_LOCN="Latest"
# Assign symlink from Latest
ln -sfn "${MVK_PKG_LOCN}/${MVK_PKG_CONFIG_LOCN}" "${MVK_PKG_LOCN}/${MVK_PKG_LATEST_LOCN}"