Files
linguist/script/bootstrap
Adam Roben f2ab426d38 Move all grammars that use Git repos to submodules
This makes it so we don't have to redownload all the grammars every time
we build the grammars gem. It will also let us verify that grammars.yml
is accurate in the future by checking it against the submodules on disk.

script/bootstrap now updates the submodules.
2014-12-19 15:39:02 -05:00

13 lines
188 B
Bash
Executable File

#!/bin/sh
set -e
cd "$(dirname "$0")/.."
bundle config --local path vendor/gems
bundle check > /dev/null 2>&1 || bundle install
git submodule sync --quiet
git submodule update --init