2017-02-16 21:40:17 +00:00
|
|
|
#!/bin/bash -ex
|
2015-06-19 17:34:31 +00:00
|
|
|
|
2015-12-09 22:42:41 +00:00
|
|
|
git clone --depth 1 https://github.com/trailofbits/codereason
|
2015-06-19 17:34:31 +00:00
|
|
|
cd codereason
|
2017-02-16 21:45:02 +00:00
|
|
|
find . -type f -exec sed -i 's:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain::g' {} \;
|
2015-09-11 15:21:32 +00:00
|
|
|
./install_vex.sh
|
2017-02-16 21:45:02 +00:00
|
|
|
# This step fails in travis-ci because of CMake 3.2 not finding Boost, while docker has CMake 2.8 which finds Boost just fine
|
2015-06-19 17:34:31 +00:00
|
|
|
./make.sh
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
mkdir -p bin
|
|
|
|
cd bin
|
|
|
|
ln -s ../codereason/build/bin/* .
|
|
|
|
cd ..
|