Files

20 lines
531 B
Bash
Executable File

#!/usr/bin/env bash
#set -x
DeployLocation="bin/"
echo "Deploying resources to ${DeployLocation}"
# Asset folders
ln -srf assets/Models ${DeployLocation}
ln -srf assets/Textures ${DeployLocation}
ln -srf assets/Sounds ${DeployLocation}
# Configuration files
ln -s assets/DefaultConfig.ini $[DeployLocation}
# Shaders
ln -srf src/game/Core/Shaders ${DeployLocation}
# Platform specific binaries
if [[ $# -eq 1 ]]; then
echo "Deploying {$1} binaries to ${DeployLocation}"
ln -srf deps/bin/$1/x64/*.dll ${DeployLocation}
fi