Skip to content

Commit 62bfd9b

Browse files
committed
Add grammar-test script
1 parent 849dc69 commit 62bfd9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1682,7 +1682,8 @@
16821682
"pretest": "npm run compile-tests",
16831683
"soundness": "scripts/soundness.sh",
16841684
"check-package-json": "tsx ./scripts/check_package_json.ts",
1685-
"test": "vscode-test",
1685+
"test": "vscode-test && npm run grammar-test",
1686+
"grammar-test": "vscode-tmgrammar-test 'test/unit-tests/**/*.test.swift.gyb' -g test/unit-tests/syntaxes/swift.tmLanguage.json -g test/unit-tests/syntaxes/MagicPython.tmLanguage.json",
16861687
"integration-test": "npm test -- --label integrationTests",
16871688
"unit-test": "npm test -- --label unitTests",
16881689
"coverage": "npm test -- --coverage",

0 commit comments

Comments
 (0)