added vscode files

This commit is contained in:
Kevin Froman 2020-02-03 17:38:04 -06:00
vanhempi 246ba6eb7b
commit 09617dc563
4 muutettua tiedostoa jossa 69 lisäystä ja 2 poistoa

5
.gitignore vendored
Näytä tiedosto

@ -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/*

23
.vscode/launch.json vendored Normal file
Näytä tiedosto

@ -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/"
}
]
}

41
.vscode/tasks.json vendored Normal file
Näytä tiedosto

@ -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": []
}
]
}

Näytä tiedosto

@ -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