Skip to content

Commit

Permalink
Merge pull request #87 from puremourning/upgrade-bashdb
Browse files Browse the repository at this point in the history
Upgrade bashdb and add more useful defaults
  • Loading branch information
mergify[bot] authored Jan 17, 2020
2 parents cb2e08b + df759ec commit b2b0853
Showing 1 changed file with 35 additions and 2 deletions.
37 changes: 35 additions & 2 deletions install_gadget.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,37 @@
'download/${version}/${file_name}',
},
'all': {
'file_name': 'bash-debug-0.3.5.vsix',
'version': 'v0.3.5',
'file_name': 'bash-debug-0.3.6.vsix',
'version': 'v0.3.6',
'checksum': '',
},
'do': lambda name, root: InstallBashDebug( name, root ),
'adapters': {
"vscode-bash": {
"name": "bashdb",
"command": [
"node",
"${gadgetDir}/vscode-bash-debug/out/bashDebug.js"
],
"variables": {
"BASHDB_HOME": "${gadgetDir}/vscode-bash-debug/bashdb_dir"
},
"configuration": {
"request": "launch",
"type": "bashdb",
"program": "${file}",
"args": [],
"env": {},
"pathBash": "bash",
"pathBashdb": "${BASHDB_HOME}/bashdb",
"pathBashdbLib": "${BASHDB_HOME}",
"pathCat": "cat",
"pathMkfifo": "mkfifo",
"pathPkill": "pkill",
"cwd": "${workspaceRoot}",
"terminalKind": "integrated",
}
}
}
},
'vscode-go': {
Expand Down Expand Up @@ -318,6 +346,11 @@ def InstallCppTools( name, root ):
MakeExtensionSymlink( name, root )


def InstallBashDebug( name, root ):
MakeExecutable( os.path.join( root, 'extension', 'bashdb_dir', 'bashdb' ) )
MakeExtensionSymlink( name, root )


def InstallTclProDebug( name, root ):
configure = [ './configure' ]

Expand Down

0 comments on commit b2b0853

Please sign in to comment.