summaryrefslogtreecommitdiff
path: root/misc/travis/scons-local-osx.sh
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-11-13 21:44:23 +0100
committerGitHub <noreply@github.com>2017-11-13 21:44:23 +0100
commitba7e00dfef30573a9bc8b25cb51a86cd1eed4042 (patch)
treeb380ad5acb8ea0bda16de3fe9e90e2d93a239764 /misc/travis/scons-local-osx.sh
parent3c646350031d4765cf9064b426cb763ef4acb0da (diff)
parent7f3ecd4227edd4deb632eae9cbaeb5567a959a14 (diff)
Merge pull request #12885 from rraallvv/osx_android_travis
travis: caching Android, iOS, macOS (cross-compile) (master)
Diffstat (limited to 'misc/travis/scons-local-osx.sh')
-rwxr-xr-xmisc/travis/scons-local-osx.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/misc/travis/scons-local-osx.sh b/misc/travis/scons-local-osx.sh
new file mode 100755
index 0000000000..d9d7d98b38
--- /dev/null
+++ b/misc/travis/scons-local-osx.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+echo
+echo "Download and install Scons local package ..."
+echo
+
+echo "Downloading sources ..."
+curl -L -O http://prdownloads.sourceforge.net/scons/scons-local-3.0.0.zip # latest version available here: http://scons.org/pages/download.html
+
+echo "Extracting to build directory ..."
+unzip -qq -n scons-local-3.0.0.zip -d $TRAVIS_BUILD_DIR/scons-local
+
+echo "Installing symlinks ..."
+ln -s $TRAVIS_BUILD_DIR/scons-local/scons.py /usr/local/bin/scons
+
+echo
+echo "Done!"
+echo