2020-10-03 18:04:18 +00:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
2020-10-15 20:16:13 +00:00
|
|
|
mkdir -p ./out/grammars
|
2020-10-03 18:27:44 +00:00
|
|
|
|
2020-10-03 18:04:18 +00:00
|
|
|
# Convert TextMate grammar from CSON to JSON (VSCode cannot recognize CSON ones).
|
|
|
|
TMGRAMMAR_CSON=./node_modules/language-texinfo/grammars/texinfo.cson
|
2020-10-15 20:16:13 +00:00
|
|
|
TMGRAMMAR_JSON=./out/grammars/texinfo.json
|
2020-10-03 18:04:18 +00:00
|
|
|
cson2json $TMGRAMMAR_CSON > $TMGRAMMAR_JSON
|