Skip to content

Commit 3e87bef

Browse files
Could this be the last vscode branch? (#344)
Moved versioned vscode files to .vscode/jhrg
1 parent 7a6ad51 commit 3e87bef

6 files changed

Lines changed: 95 additions & 103 deletions

File tree

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
.DS_Store
33
*/.DS_Store
44
.idea
5-
.vscode/settings.json
6-
.vscode/tasks.json
5+
.vscode/*.json
76
.cproject
87
.project
98
.settings
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
{
1717
"name": "PATH",
18-
"value": "${env:HYRAX_PREFIX}/bin:${env:HYRAX_PREFIX}/deps/bin:${env:PATH}"
18+
"value": "${config:PATH}"
1919
}
2020
],
2121
"MIMode": "lldb",

.vscode/jhrg/settings.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"prefix": "/Users/jimg/src/opendap/hyrax_git/build",
3+
"PATH": "${config:prefix}/bin:${config:prefix}/deps/bin:${env:PATH}",
4+
"C_Cpp.default.configurationProvider": "ms-vscode.makefile-tools",
5+
"C_Cpp.default.compileCommands": "${workspaceFolder}/compile_commands.json",
6+
"C_Cpp.default.cppStandard": "c++14",
7+
"C_Cpp.default.intelliSenseMode": "macos-clang-arm64",
8+
"terminal.integrated.env.osx": {
9+
"prefix": "${config:prefix}",
10+
"PATH": "${config:PATH}"
11+
},
12+
"terminal.integrated.env.linux": {
13+
"prefix": "${config:prefix}",
14+
"PATH": "${config:PATH}"
15+
}
16+
}

.vscode/jhrg/tasks.json

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"version": "2.0.0",
3+
"options": {
4+
"cwd": "${workspaceFolder}",
5+
"env": {
6+
"TESTSUITEFLAGS": "-j",
7+
"prefix": "${config:prefix}",
8+
"PATH": "${config:PATH}"
9+
},
10+
"shell": {
11+
"executable": "/bin/zsh",
12+
"args": ["-c"]
13+
}
14+
},
15+
"tasks": [
16+
{
17+
"label": "autotools: configure",
18+
"type": "shell",
19+
"command": "echo \"prefix: $prefix\" && autoreconf -fvi && ./configure --prefix=$prefix --enable-developer",
20+
"problemMatcher": [],
21+
"group": {
22+
"kind": "build",
23+
"isDefault": true
24+
}
25+
},
26+
{
27+
"label": "autotools: build",
28+
"type": "shell",
29+
"command": "make -j",
30+
"problemMatcher": ["$gcc"],
31+
"group": {
32+
"kind": "build",
33+
"isDefault": true
34+
}
35+
},
36+
{
37+
"label": "autotools: check",
38+
"type": "shell",
39+
"command": "make -j check",
40+
"problemMatcher": ["$gcc"],
41+
"group": {
42+
"kind": "build",
43+
"isDefault": true
44+
}
45+
},
46+
{
47+
"label": "autotools: install",
48+
"type": "shell",
49+
"command": "make install",
50+
"problemMatcher": [],
51+
"group": {
52+
"kind": "build",
53+
"isDefault": true
54+
}
55+
},
56+
{
57+
"label": "autotools: clean",
58+
"type": "shell",
59+
"command": "make clean",
60+
"problemMatcher": [],
61+
"group": {
62+
"kind": "build",
63+
"isDefault": true
64+
}
65+
},
66+
{
67+
"label": "autotools: compile_commands",
68+
"type": "shell",
69+
"command": "make clean && bear -- make -j && bear --append -- make -j check",
70+
"problemMatcher": ["$gcc"],
71+
"group": {
72+
"kind": "build",
73+
"isDefault": true
74+
}
75+
}
76+
]
77+
}

.vscode/settings.json.template

Lines changed: 0 additions & 14 deletions
This file was deleted.

.vscode/tasks.json.template

Lines changed: 0 additions & 86 deletions
This file was deleted.

0 commit comments

Comments
 (0)