File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ for Visual Studio Code.
9
9
Make sure you have the following binaries installed:
10
10
11
11
- [ ` yarn ` ] ( https://yarnpkg.com/en/ ) : to build the project
12
- - [ ` vsce ` ] ( https://code.visualstudio.com/api/working-with-extensions/publishing-extension ) :
13
- to package the extension for VS Code.
14
12
- [ ` code ` ] ( https://code.visualstudio.com/docs/setup/mac ) : to launch VS Code from
15
13
the terminal.
16
14
@@ -50,7 +48,7 @@ changes.
50
48
``` bash
51
49
yarn install
52
50
yarn build
53
- vsce package
51
+
54
52
# replace `*` below with the version of the generated vsix file
55
53
code --install-extension scala-* .vsix
56
54
```
Original file line number Diff line number Diff line change 54
54
"scripts" : {
55
55
"vscode:prepublish" : " test -f ./syntaxes/Scala.tmLanguage.json" ,
56
56
"vscode:publish" : " vsce publish --yarn" ,
57
- "build" : " ts-node src/typescript/GenerateTmLanguageFile.ts > ./syntaxes/Scala.tmLanguage.json" ,
57
+ "build" : " npm-run-all build:syntax build:extension" ,
58
+ "build:syntax" : " ts-node src/typescript/GenerateTmLanguageFile.ts > ./syntaxes/Scala.tmLanguage.json" ,
59
+ "build:extension" : " vsce package" ,
58
60
"test" : " npm-run-all test:*" ,
59
61
"test:unit" : " vscode-tmgrammar-test -s source.scala -g syntaxes/Scala.tmLanguage.json -t 'tests/unit/**/*.test.scala'" ,
60
62
"test:snap" : " vscode-tmgrammar-snap -s source.scala -g syntaxes/Scala.tmLanguage.json -t 'tests/snap/**/*.test.scala'"
You can’t perform that action at this time.
0 commit comments