9 lines
282 B
Bash
Executable File
9 lines
282 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
mkdir -p ./out/grammars
|
|
|
|
# Convert TextMate grammar from CSON to JSON (VSCode cannot recognize CSON ones).
|
|
TMGRAMMAR_CSON=./node_modules/language-texinfo/grammars/texinfo.cson
|
|
TMGRAMMAR_JSON=./out/grammars/texinfo.json
|
|
cson2json $TMGRAMMAR_CSON > $TMGRAMMAR_JSON
|