2020-10-03 18:04:18 +00:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
2020-10-17 13:41:03 +00:00
|
|
|
SRC_PATH=./node_modules/language-texinfo
|
|
|
|
DEST_PATH=./out/grammars
|
|
|
|
mkdir -p $DEST_PATH
|
|
|
|
# Convert TextMate grammar from CSON to JSON, as VSCode cannot recognize CSON ones.
|
2020-11-15 19:36:54 +00:00
|
|
|
cson2json $SRC_PATH/grammars/texinfo.cson | json -j0 > $DEST_PATH/texinfo.json
|