pin mason to avoid breakage from upcoming improvements - refs mapbox/mason#131
This commit is contained in:
parent
1a10f271d8
commit
bb0565d4d8
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue