From fbb4d5d648a8dc6dba9e33240bf66d82939e2880 Mon Sep 17 00:00:00 2001 From: David Timber Date: Sun, 30 Aug 2020 21:30:46 +0930 Subject: * Impl run_cmd * Add prne_htbt_hover_t * Add run_cmd test data --- .vscode/launch.json | 29 +++++++++++++++++++++++++++++ .vscode/tasks.json | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json (limited to '.vscode') diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..d3bf892 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,29 @@ +{ + // 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": [ + { + "name": "htbthost", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/src/proone-htbthost", + "args": ["test", "--no-verify"], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Follow parent fork", + "text": "set follow-fork-mode parent", + "ignoreFailures": false + } + ], + "preLaunchTask": "Build htbthost", + "miDebuggerPath": "/usr/bin/gdb" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..b0142ea --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,34 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Prep AM", + "type": "shell", + "command": "./bootstrap.sh" + }, + { + "label": "Autoconf", + "type": "shell", + "dependsOn": [ "Prep AM" ], + "command": "./configure --enable-debug" + }, + { + "label": "clean", + "type": "shell", + "command": "make clean" + }, + { + "label": "distclean", + "type": "shell", + "command": "make distclean" + }, + + { + "label": "Build htbthost", + "type": "shell", + "command": "make -C ./src proone-htbthost" + } + ] +} -- cgit