-
Notifications
You must be signed in to change notification settings - Fork 2
/
dj-cookiecutter.code-workspace
142 lines (142 loc) · 2.68 KB
/
dj-cookiecutter.code-workspace
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"folders": [
{
"name": "Cookiecutter Templates",
"path": "."
}
],
"settings": {
"conventionalCommits.scopes": [
"workflow",
"template",
"folders",
"docker",
"basic-package"
],
"files.exclude": {
"**/.DS_Store": true,
"**/.git": true,
"**/.hg": true,
"**/.svn": true,
"**/CVS": true,
"**/Thumbs.db": true,
"*.command": true,
"build/": true
},
"python.defaultInterpreterPath": "${env:CONDA_ENV_ROOT}/cookies/bin/python"
},
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "Cookiecutter WF Defaults",
"type": "python",
"module": "tests.integration.test_datajoint_workflow",
"cwd": "${workspaceFolder}",
"env": {
"PYTHONPATH": "${workspaceFolder}"
},
"justMyCode": false,
"request": "launch"
}
]
},
"tasks": {
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"options": {
"cwd": "${workspaceFolder}"
},
"presentation": {
"clear": false,
"echo": true,
"focus": true,
"panel": "shared",
"reveal": "always",
"showReuseMessage": true
},
"inputs": [
{
"type": "pickString",
"id": "templateDirectory",
"description": "Which template directory to use?",
"options": [
"datajoint-workflow",
"basic-package"
],
"default": "basic-package"
}
],
"tasks": [
{
"label": "Cookiecutter replay",
"type": "shell",
"command": "conda",
"args": [
"run",
"--no-capture-output",
"-n",
"cookies",
"cookiecutter",
"-f",
"-o",
"build",
"--replay",
"."
]
},
{
"label": "Cookiecutter interactive",
"type": "shell",
"command": "conda",
"args": [
"run",
"--no-capture-output",
"-n",
"cookies",
"cookiecutter",
"-f",
"-o",
"build",
"--directory",
"${input:templateDirectory}",
"."
],
"options": {
"cwd": "${workspaceFolder}"
}
},
{
"label": "Cookiecutter defaults",
"type": "shell",
"command": "conda",
"args": [
"run",
"--no-capture-output",
"-n",
"cookies",
"cookiecutter",
"-fv",
"-o",
"build",
"--no-input",
"--directory",
"${input:templateDirectory}",
"."
],
"options": {
"cwd": "${workspaceFolder}"
}
},
{
"label": "clean junk files",
"type": "shell",
"command": "find . -name '*.DS_Store' -type f -delete && find . -name '.ipynb_checkpoints' -type d -exec rm -rf {} + && find . -name '__pycache__' -type d -exec rm -rf {} +",
"options": {
"cwd": "${workspaceFolder}"
}
}
]
}
}