git-subtree-dir: third_party/mason git-subtree-split: cf3561bf78cb146821dba3d95c308fc44db05f46
22 lines
426 B
Bash
Executable File
22 lines
426 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e -u
|
|
set -o pipefail
|
|
|
|
./mason install boost_libregex 1.57.0
|
|
./mason link boost_libregex 1.57.0
|
|
|
|
|
|
failure=0
|
|
|
|
if [[ ! -f mason_packages/.link/lib/libboost_regex.a ]]; then
|
|
echo "could not find expected lib/libboost_regex.a"
|
|
failure=1
|
|
fi
|
|
|
|
if [[ ! -L mason_packages/.link/lib/libboost_regex.a ]]; then
|
|
echo "lib/libboost_regex.a is not a symlink like expected"
|
|
failure=1
|
|
fi
|
|
|
|
exit $failure |