Tactiliest/Buildscripts/release-simulator.sh
Ken Van Hoeylandt 5d189fe5a3
Add macOS simulator build to pipelines (#162)
- GitHub actions changed to build simulator on macOS (it's broken, but at least we get a good code portability check for now!)
- `Buildscripts/` shell scripts updated to use `/bin/sh` so it works on macOS too
- Various includes fixed in various subprojects so the code is more portable
2025-01-12 17:48:59 +01:00

18 lines
408 B
Bash
Executable File

#!/bin/sh
#
# Usage: release-simulator.sh [builddir] [target_path]
# Example: release-simulator.sh buildsim release/Simulator-linux-amd64
# Description: Releases the current simulator build files in the specified folder.
#
build_path=$1
target_path=$2
mkdir -p $target_path
cp version.txt $target_path
cp $build_path/App/AppSim $target_path/
cp -r Data/data $target_path/
cp -r Data/system $target_path/