Browse Source

added vscode files

tags/4.0.0
Kevin Froman 10 months ago
parent
commit
09617dc563
4 changed files with 69 additions and 2 deletions
  1. +4
    -1
      .gitignore
  2. +23
    -0
      .vscode/launch.json
  3. +41
    -0
      .vscode/tasks.json
  4. +1
    -1
      README.md

+ 4
- 1
.gitignore View File

@@ -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
- 0
.vscode/launch.json View File

@@ -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
- 0
.vscode/tasks.json View File

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

+ 1
- 1
README.md View File

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



Loading…
Cancel
Save