mirror of
https://github.com/libretro/libretro-super
synced 2024-12-27 12:27:50 +00:00
17 lines
515 B
Bash
Executable File
17 lines
515 B
Bash
Executable File
#!/bin/bash
|
|
|
|
RECIPE=recipes/apple/cores-osx-x64-generic
|
|
|
|
cd ~/libretro-super
|
|
|
|
if [ "${TRAVIS_BUILD_DIR}" ]; then
|
|
CORE_DIRNAME=`grep ${CORE} ${RECIPE} | head -1 | awk '{print $2}'`
|
|
rm -fr ${CORE_DIRNAME}
|
|
mv ${TRAVIS_BUILD_DIR} ${CORE_DIRNAME}
|
|
fi
|
|
|
|
[ -z "${NAME:-}" ] && NAME="${CORE}"
|
|
|
|
# only build the one core specified in $CORE, use NOCLEAN so we don't reset the repo back to master/HEAD in case this is a PR
|
|
NOCLEAN=1 FORCE=YES SINGLE_CORE="${CORE}" CORE="${NAME}" ./libretro-buildbot-recipe.sh "${RECIPE}"
|