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