Unlink global babel before bootstrapping to make it idempotent.

This commit is contained in:
Brian Donovan 2015-04-09 09:55:48 -07:00
parent 83324b977d
commit 77c72bb5a6

View File

@ -109,6 +109,7 @@ publish-cli:
npm publish npm publish
bootstrap: bootstrap:
npm list --global --depth 1 babel >/dev/null 2>&1 && npm uninstall -g babel
npm install npm install
npm link npm link
cd packages/babel-cli && npm install && npm link && npm link babel-core cd packages/babel-cli && npm install && npm link && npm link babel-core