1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00
OpenMW/CI/before_install.osx.sh
2020-10-20 23:06:08 +02:00

14 lines
545 B
Bash
Executable File

#!/bin/sh -e
# Some of these tools can come from places other than brew, so check before installing
command -v ccache >/dev/null 2>&1 || brew install ccache
command -v cmake >/dev/null 2>&1 || brew install cmake
command -v qmake >/dev/null 2>&1 || brew install qt
brew link --overwrite --dry-run lz4
brew link --overwrite lz4
brew reinstall lz4
curl -fSL -R -J https://downloads.openmw.org/osx/dependencies/openmw-deps-ef2462c.zip -o ~/openmw-deps.zip
rm -fr /tmp/openmw-deps
unzip -o ~/openmw-deps.zip -d /private/tmp/openmw-deps > /dev/null