You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-12Lines changed: 8 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,28 +9,24 @@ Latest version of the grammar can be also found as a [VSCode extension](https://
9
9
10
10
The XML files are generated from the YAML files, so contributors should hand-modify the YAML files, and XML files should only be generated by running build script.
11
11
12
+
## Install dependencies
13
+
```sh
14
+
npm install
15
+
```
16
+
12
17
## Build
13
18
14
-
Update the XML files from within the ```build``` folder
19
+
Compile the yaml file into the tmLanguage and tmTheme files
15
20
16
21
```sh
17
-
cd build
18
-
npm install # Installs dependencies required for building
19
-
npm start # Compiles & builds the XML files
22
+
npm run build:grammar
20
23
```
21
24
22
25
## Tests
23
26
24
-
Test are run from within the ```tests``` folder and depend on build to make sure XML files are upto date
25
-
26
27
```sh
27
-
cd build
28
-
npm install # Installs dependencies required for building
29
-
30
-
cd ../tests
31
-
npm install # Installs dependencies required for testing
32
28
npm test# Compiles & runs tests
33
29
34
30
npm run diff # Diffs the test baselines with generated one using tool set in environment variable DIFF
0 commit comments