diff options
author | Toby Vincent <tobyv13@gmail.com> | 2022-01-12 15:25:31 -0600 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2022-01-12 15:25:31 -0600 |
commit | 887456a217e595b64501169c57cabd6b6a34f167 (patch) | |
tree | 518f23c433947d977e84e22deac5424625ece0c2 /.vscode | |
parent | 19ad50c61d71101dc253f14d731958be628cd1ba (diff) |
feat: inital project structure and api
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/launch.json | 192 | ||||
-rw-r--r-- | .vscode/settings.json | 4 |
2 files changed, 196 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..53fe623 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,192 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + // zone - library (unit tests) + { + "type": "lldb", + "request": "launch", + "name": "Debug unit tests in library 'zone'", + "cargo": { + "args": [ + "test", + "--no-run", + "--lib", + "--package=zone" + ], + "filter": { + "name": "zone", + "kind": "lib" + } + }, + "args": [], + "cwd": "${workspaceFolder}", + "presentation": { + "hidden": false, + "group": "zone", + } + }, + // zone - executable + { + "type": "lldb", + "request": "launch", + "name": "Debug executable 'zone'", + "cargo": { + "args": [ + "build", + "--bin=zone", + "--package=zone" + ], + "filter": { + "name": "zone", + "kind": "bin" + } + }, + "args": [ + "list" + ], + "cwd": "${workspaceFolder}", + "env": { + "ZONE_SOCK": "/tmp/zoned/zoned.sock" + }, + "presentation": { + "hidden": false, + "group": "zone", + } + }, + // zone - executable (unit tests) + { + "type": "lldb", + "request": "launch", + "name": "Debug unit tests in executable 'zone'", + "cargo": { + "args": [ + "test", + "--no-run", + "--bin=zone", + "--package=zone" + ], + "filter": { + "name": "zone", + "kind": "bin" + } + }, + "args": [], + "cwd": "${workspaceFolder}", + "env": { + "ZONE_SOCK": "/tmp/zoned/zoned.sock" + }, + "presentation": { + "hidden": false, + "group": "zone", + } + }, + // zone_core - library (unit tests) + { + "type": "lldb", + "request": "launch", + "name": "Debug unit tests in library 'zone_core'", + "cargo": { + "args": [ + "test", + "--no-run", + "--lib", + "--package=zone_core" + ], + "filter": { + "name": "zone_core", + "kind": "lib" + } + }, + "args": [], + "cwd": "${workspaceFolder}", + "presentation": { + "hidden": false, + "group": "zone_core", + } + }, + // zoned - library (unit tests) + { + "type": "lldb", + "request": "launch", + "name": "Debug unit tests in library 'zoned'", + "cargo": { + "args": [ + "test", + "--no-run", + "--lib", + "--package=zoned" + ], + "filter": { + "name": "zoned", + "kind": "lib" + } + }, + "args": [], + "env": { + "ZONE_SOCK": "/tmp/zoned/zoned.sock" + }, + "cwd": "${workspaceFolder}", + "presentation": { + "hidden": false, + "group": "zoned", + } + }, + // zoned - executable + { + "type": "lldb", + "request": "launch", + "name": "Debug executable 'zoned'", + "cargo": { + "args": [ + "build", + "--bin=zoned", + "--package=zoned" + ], + "filter": { + "name": "zoned", + "kind": "bin" + } + }, + "args": [], + "env": { + "ZONE_SOCK": "/tmp/zoned/zoned.sock" + }, + "cwd": "${workspaceFolder}", + "terminal": "console", + "presentation": { + "hidden": false, + "group": "zoned", + }, + }, + // zoned - executable (unit tests) + { + "type": "lldb", + "request": "launch", + "name": "Debug unit tests in executable 'zoned'", + "cargo": { + "args": [ + "test", + "--no-run", + "--bin=zoned", + "--package=zoned" + ], + "filter": { + "name": "zoned", + "kind": "bin" + } + }, + "args": [], + "env": { + "ZONE_SOCK": "/tmp/zoned/zoned.sock" + }, + "cwd": "${workspaceFolder}", + "presentation": { + "hidden": false, + "group": "zoned", + }, + }, + ] +}
\ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..a7c1615 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "lldb.showDisassembly": "never", + "lldb.dereferencePointers": true +}
\ No newline at end of file |