Skip to content

Commit 63189c6

Browse files
usenko-timurtsafin
andauthored
Support tarantool (#1)
* Add bundle.yml github workflow * Use tarantool.debug.getsources function * Conditional call to tarantool.debug.getsources() (to make it work with unpatched tarantool executables also); * Update program configuration settings * Update README.md Co-authored-by: Timur Safin <tsafin@tarantool.org>
1 parent d51ee29 commit 63189c6

17 files changed

+4713
-4926
lines changed

.github/workflows/bundle.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Bundle extension
2+
3+
on:
4+
push:
5+
branches: [master]
6+
tags: ['*']
7+
pull_request:
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
17+
- uses: actions/setup-node@v3
18+
with:
19+
node-version: '16.8.0'
20+
21+
- uses: actions/cache@v3
22+
with:
23+
path: 'node_modules'
24+
key: os-${{ runner.os }}-modules-${{ hashFiles('package-lock.json') }}
25+
26+
- run: npm ci
27+
28+
- run: npm run bundle
29+
30+
- uses: actions/upload-artifact@v3
31+
with:
32+
name: tarantool-lua-debugger-vscode
33+
path: tarantool-lua-debugger-vscode-*.vsix

.vscode/launch.json

Lines changed: 29 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,31 @@
11
{
2-
"version": "0.2.0",
3-
"configurations": [
4-
{
5-
"name": "Extension",
6-
"type": "extensionHost",
7-
"request": "launch",
8-
"runtimeExecutable": "${execPath}",
9-
"args": [
10-
"--extensionDevelopmentPath=${workspaceFolder}"
11-
],
12-
"outFiles": [
13-
"${workspaceFolder}/**/*.js"
14-
],
15-
// "preLaunchTask": "npm: watch"
16-
},
17-
{
18-
"name": "Extension Installed",
19-
"type": "extensionHost",
20-
"request": "launch",
21-
"runtimeExecutable": "${execPath}",
22-
"args": [
23-
"--extensionDevelopmentPath=${workspaceFolder}/../../.vscode/extensions/tomblind.local-lua-debugger-vscode-0.1.0"
24-
],
25-
"outFiles": [
26-
"${workspaceFolder}/../../.vscode/extensions/tomblind.local-lua-debugger-vscode-0.1.0/**/*.js"
27-
],
28-
// "preLaunchTask": "npm: watch"
29-
},
30-
{
31-
"name": "Server",
32-
"type": "node",
33-
"request": "launch",
34-
"cwd": "${workspaceFolder}",
35-
"program": "${workspaceFolder}/extension/debugAdapter.ts",
36-
"args": [
37-
"--server=4711"
38-
],
39-
"outFiles": [
40-
"${workspaceFolder}/**/*.js"
41-
]
42-
}
43-
]
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Extension",
6+
"type": "extensionHost",
7+
"request": "launch",
8+
"runtimeExecutable": "${execPath}",
9+
"args": [
10+
"--extensionDevelopmentPath=${workspaceFolder}"
11+
],
12+
"outFiles": [
13+
"${workspaceFolder}/**/*.js"
14+
],
15+
// "preLaunchTask": "npm: watch"
16+
},
17+
{
18+
"name": "Server",
19+
"type": "node",
20+
"request": "launch",
21+
"cwd": "${workspaceFolder}",
22+
"program": "${workspaceFolder}/extension/debugAdapter.ts",
23+
"args": [
24+
"--server=4711"
25+
],
26+
"outFiles": [
27+
"${workspaceFolder}/**/*.js"
28+
]
29+
}
30+
]
4431
}

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## Version 0.4.0
2+
- Supported Tarantool
3+
14
## Version 0.3.3
25
- Added support for utf8 identifier names
36
- Implemented pipe communication as an alternative to using stdio (use `"communication": "pipe"` under `"program"`)

0 commit comments

Comments
 (0)