2018-11-18 16:33:32 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-12-17 00:53:00 +01:00
|
|
|
. scripts/lib.sh
|
|
|
|
|
2018-11-18 16:33:32 +01:00
|
|
|
# Build engine
|
|
|
|
|
|
|
|
cd $TRAVIS_BUILD_DIR
|
2021-03-05 14:03:26 +01:00
|
|
|
python waf configure -s "$HOME/Library/Frameworks/SDL2.framework/" -T debug --prefix="pkg/" --win-style-install --enable-utils || die
|
2019-03-29 21:32:06 +01:00
|
|
|
python waf build || die
|
2019-04-08 15:54:13 +02:00
|
|
|
python waf install || die
|
2019-03-29 03:44:36 +01:00
|
|
|
cp ~/Library/Frameworks/SDL2.framework/SDL2 pkg/libSDL2.dylib
|
|
|
|
tar -cjf $TRAVIS_BUILD_DIR/xash3d-osx.tar.bz2 pkg/*
|