pin mason to avoid breakage from upcoming improvements - refs mapbox/mason#131

This commit is contained in:
Dane Springmeyer 2016-03-10 16:25:54 -08:00
parent 1a10f271d8
commit bb0565d4d8

View file

@ -10,12 +10,15 @@ todo
- shrink icu data
'
MASON_VERSION="694d08c"
function setup_mason() {
if [[ ! -d ./.mason ]]; then
git clone --depth 1 https://github.com/mapbox/mason.git ./.mason
git clone https://github.com/mapbox/mason.git ./.mason
git checkout ${MASON_VERSION}
else
echo "Updating to latest mason"
(cd ./.mason && git pull)
(cd ./.mason && git fetch && git checkout ${MASON_VERSION})
fi
export MASON_DIR=$(pwd)/.mason
export PATH=$(pwd)/.mason:$PATH