script: Add build-grammars-tarball (#3992)

This commit is contained in:
Vicent Martí
2018-01-18 18:23:55 +01:00
committed by GitHub
parent 4c1e61892a
commit c8171322f5

9
script/build-grammars-tarball Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
set -e
cd "$(dirname "$0")/.."
rm -rf ./linguist-grammars
./script/grammar-compiler compile -o linguist-grammars || true
tar -zcvf linguist-grammars.tar.gz linguist-grammars