[docker] add update grammar script

This commit is contained in:
Martin Aeschlimann
2016-12-05 11:44:30 +01:00
parent c1d967afad
commit bc6b817cf2
3 changed files with 94 additions and 144 deletions

View File

@@ -3,6 +3,9 @@
"version": "0.1.0",
"publisher": "vscode",
"engines": { "vscode": "*" },
"scripts": {
"update-grammar": "node ../../build/npm/update-grammar.js docker/docker contrib/syntax/textmate/Docker.tmbundle/Syntaxes/Dockerfile.tmLanguage ./syntaxes/docker.tmLanguage.json"
},
"contributes": {
"languages": [{
"id": "dockerfile",
@@ -14,7 +17,7 @@
"grammars": [{
"language": "dockerfile",
"scopeName": "source.dockerfile",
"path": "./syntaxes/Dockerfile.tmLanguage"
"path": "./syntaxes/docker.tmLanguage.json"
}]
}
}