mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
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.
13 lines
188 B
Bash
Executable File
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
|