This repository has been archived on 2021-04-27. You can view files and clone it, but cannot push or open issues or pull requests.
ludum-dare-48/bundle/windows/create-release.sh

20 lines
472 B
Bash
Executable File

#! /bin/bash
set -e
echo "Building for x64 Windows"
cross build --target x86_64-pc-windows-gnu --release
echo "Creating bundle output"
rm -rf ./bundle/windows/release
mkdir -p ./bundle/windows/release
echo "Copying binary"
cp ./target/x86_64-pc-windows-gnu/release/ludum-dare-48.exe ./bundle/windows/release
echo "Copying assets"
cp -r ./assets ./bundle/windows/release
echo "Packing assets"
cd ./bundle/windows/release
zip -r ../release-x86_64-pc-windows-gnu.zip ./