bootstrap (linguist-7.23.0) | : | bootstrap (linguist-7.24.0) | ||
---|---|---|---|---|
#!/bin/sh | #!/bin/sh | |||
set -e | set -e | |||
cd "$(dirname "$0")/.." | cd "$(dirname "$0")/.." | |||
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ]; then | ||||
brew bundle check >/dev/null 2>&1 || { | ||||
echo "==> Installing Homebrew dependencies…" | ||||
brew bundle | ||||
} | ||||
fi | ||||
bundle config --local path vendor/gems | bundle config --local path vendor/gems | |||
bundle check > /dev/null 2>&1 || bundle install | bundle check > /dev/null 2>&1 || bundle install | |||
echo "==> Initialising submodules…" | ||||
git submodule init | git submodule init | |||
git submodule sync --quiet | git submodule sync --quiet | |||
script/fast-submodule-update | script/fast-submodule-update | |||
echo "==> Generating samples…" | ||||
bundle exec rake samples > /dev/null 2>&1 | ||||
End of changes. 3 change blocks. | ||||
0 lines changed or deleted | 8 lines changed or added |