From 09617dc5639a0234d8fddba61452dd522f70e79a Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Mon, 3 Feb 2020 17:38:04 -0600 Subject: [PATCH] added vscode files --- .gitignore | 5 ++++- .vscode/launch.json | 23 +++++++++++++++++++++++ .vscode/tasks.json | 41 +++++++++++++++++++++++++++++++++++++++++ README.md | 2 +- 4 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.gitignore b/.gitignore index b36a1f98..c4a4bc3f 100755 --- a/.gitignore +++ b/.gitignore @@ -13,7 +13,10 @@ src/data/* src/data-backup/* run.sh src/.onionr-lock -.vscode/* + +.vscode/tags +.vscode/settings.json + venv/* src/fs* src/tmp/* diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..51a356cf --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,23 @@ +{ + // 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": "Onionr: init", + "type": "python", + "request": "launch", + "program": "${workspaceFolder}/src/__init__.py", + "cwd": "${workspaceFolder}/src/", + "args" : ["start"] + }, + { + "name": "Python: Current File", + "type": "python", + "request": "launch", + "program": "${file}", + "cwd": "${workspaceFolder}/src/" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000..8f7f8ca5 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,41 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Make new test", + "type": "shell", + "command": "cp tests/test_template.py tests/new-test.py", + "group": "test", + "presentation": { + "reveal": "always", + "panel": "new" + } + }, + { + "label": "Run tests", + "type": "shell", + "command": "source venv/bin/activate; make test", + "group": "test", + "presentation": { + "reveal": "always", + "panel": "new" + } + }, + { + "label": "Enable dev config", + "type": "process", + "command": "scripts/enable-dev-config.py", + "group": "dev", + "problemMatcher": [] + }, + { + "label": "Disable dev config", + "type": "process", + "command": "scripts/disable-dev-config.py", + "group": "dev", + "problemMatcher": [] + } + ] + } \ No newline at end of file diff --git a/README.md b/README.md index 74f8541f..663d4cef 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ The following applies to Ubuntu Bionic. Other distros may have different package Email: beardog [ at ] mailbox.org -Onionr Mail: particularizing-zabaione-defuze-iodizer-saucepan-patientest-sell-waken-chifforobe-embonpoint-aquanaut-chambermaid-barky-fumer-jolt-biotic +Onionr Mail: `particularizing-zabaione-defuze-iodizer-saucepan-patientest-sell-waken-chifforobe-embonpoint-aquanaut-chambermaid-barky-fumer-jolt-biotic` # Help out