File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -42,12 +42,22 @@ If your version of NativeScript is incompatible with the extension you will see
42
42
### Get the latest bits
43
43
44
44
1 . Clone the
[ extension repository
] ( https://github.com/NativeScript/nativescript-vscode-extension ) :
` git clone [email protected] :NativeScript/nativescript-vscode-extension.git `
45
- 2 . To build the extension run the following commands in the root repository folder
45
+ 2 . To build the extension run the following commands in the root repository folder:
46
46
47
47
```
48
48
npm install
49
49
npm run build # compiles TypeScript source files to JavaScript
50
50
npm run package # produces nativescript-*.*.*.vsix in the root folder
51
+ ```
52
+
53
+ 3. To test the extension run the following commands in the root repository folder:
54
+
51
55
```
56
+ npm install
57
+ npm run build # compiles TypeScript source files to JavaScript
58
+ npm run launch-as-server # launches the debug adapter in server mode
59
+ # execute this in a separate terminal
60
+ npm run test-mac # run tests on ios device
61
+ ```
52
62
53
- 3 . To install the extension drag and drop the `nativescript-*.*.*.vsix` package in the VS Code.
63
+ 4 . To install the extension drag and drop the `nativescript-*.*.*.vsix` package in the VS Code.
You can’t perform that action at this time.
0 commit comments