Skip to content

Commit

Permalink
add conversion to launch flow
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrik-bakke committed Jun 8, 2023
1 parent 380eba7 commit 30c341c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"skipFiles": ["<node_internals>/**"],
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
// "preLaunchTask": "Convert YAML TextMate Grammar to JSON"
}
]
}
"version": "0.2.0",
"configurations": [
{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"skipFiles": ["<node_internals>/**"],
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
"preLaunchTask": "Convert YAML TextMate Grammar to JSON"
}
]
}
2 changes: 1 addition & 1 deletion convert_yml_to_json.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
for file in syntaxes/*.tmLanguage.yaml syntaxes/*.tmLanguage.yml
do
if [ -f "$file" ]; then
npx js-yaml "$file" > "${file%.*}.json"
npx -y js-yaml "$file" > "${file%.*}.json"
fi
done

0 comments on commit 30c341c

Please sign in to comment.