2017-11-11 17:38:41 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2017-11-24 16:14:17 +00:00
|
|
|
set -x
|
|
|
|
set -e
|
|
|
|
|
2017-11-11 17:38:41 +00:00
|
|
|
# this gets executed by Travis when building an installer for Windows
|
|
|
|
# it gets started from inside the subsurface directory
|
|
|
|
# with all the other projects downloaded and installed in parralel to
|
|
|
|
# subsurface; in order to be compatible with the assumed layout, we
|
|
|
|
# need to create the secondary build directory
|
|
|
|
cd ${TRAVIS_BUILD_DIR}/..
|
|
|
|
mkdir win32
|
|
|
|
ls -l
|
|
|
|
cd win32
|
|
|
|
bash -ex ${TRAVIS_BUILD_DIR}/packaging/windows/mxe-based-build.sh installer
|
2018-02-15 20:45:58 +00:00
|
|
|
bash -ex ${TRAVIS_BUILD_DIR}/packaging/windows/smtk2ssrf-mxe-build.sh -i
|