Skip to content

Commit e63f694

Browse files
authoredJun 8, 2024
Merge pull request #31 from ronaldvanmanen/chore/vs-tasks-for-nuke-build
Add Visual Studio Code tasks for Nuke.
2 parents 372dae6 + 1cbd64c commit e63f694

File tree

1 file changed

+148
-0
lines changed

1 file changed

+148
-0
lines changed
 

‎.vscode/tasks.json

+148
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "2.0.0",
6+
"tasks": [
7+
{
8+
"label": "nuke: setup",
9+
"type": "shell",
10+
"command": "./build.sh",
11+
"args": ["setup"],
12+
"windows": {
13+
"command": ".\\build.cmd"
14+
},
15+
"group": "build",
16+
"presentation": {
17+
"reveal": "always",
18+
"panel": "new"
19+
}
20+
},
21+
{
22+
"label": "nuke: restore",
23+
"type": "shell",
24+
"command": "./build.sh",
25+
"args": ["restore"],
26+
"windows": {
27+
"command": ".\\build.cmd"
28+
},
29+
"group": "build",
30+
"presentation": {
31+
"reveal": "always",
32+
"panel": "new"
33+
}
34+
},
35+
{
36+
"label": "nuke: generate",
37+
"type": "shell",
38+
"command": "./build.sh",
39+
"args": ["generate"],
40+
"windows": {
41+
"command": ".\\build.cmd"
42+
},
43+
"group": "build",
44+
"presentation": {
45+
"reveal": "always",
46+
"panel": "new"
47+
}
48+
},
49+
{
50+
"label": "nuke: compile",
51+
"type": "shell",
52+
"command": "./build.sh",
53+
"args": ["compile"],
54+
"windows": {
55+
"command": ".\\build.cmd"
56+
},
57+
"group": "build",
58+
"presentation": {
59+
"reveal": "always",
60+
"panel": "new"
61+
}
62+
},
63+
{
64+
"label": "nuke: test",
65+
"type": "shell",
66+
"command": "./build.sh",
67+
"args": [
68+
"--configuration",
69+
"${input:NukeConfiguration}",
70+
"--architecture",
71+
"${input:NukeArchitecture}"
72+
],
73+
"windows": {
74+
"command": ".\\build.cmd"
75+
},
76+
"group": "build",
77+
"presentation": {
78+
"reveal": "always",
79+
"panel": "new"
80+
}
81+
},
82+
{
83+
"label": "nuke: pack",
84+
"type": "shell",
85+
"command": "./build.sh",
86+
"args": ["pack"],
87+
"windows": {
88+
"command": ".\\build.cmd"
89+
},
90+
"group": "build",
91+
"presentation": {
92+
"reveal": "always",
93+
"panel": "new"
94+
}
95+
},
96+
{
97+
"label": "nuke: release",
98+
"type": "shell",
99+
"command": "./build.sh",
100+
"args": ["release"],
101+
"windows": {
102+
"command": ".\\build.cmd"
103+
},
104+
"group": "build",
105+
"presentation": {
106+
"reveal": "always",
107+
"panel": "new"
108+
}
109+
},
110+
],
111+
"inputs": [
112+
{
113+
"id": "NukeTarget",
114+
"description": "Choose which target to build",
115+
"default": "",
116+
"type": "pickString",
117+
"options": [
118+
"Clean",
119+
"Setup",
120+
"Restore",
121+
"Generate",
122+
"Compile",
123+
"Test",
124+
"Pack",
125+
]
126+
},
127+
{
128+
"id": "NukeConfiguration",
129+
"description": "Choose which configuration to build for",
130+
"default": "Debug",
131+
"type": "pickString",
132+
"options": [
133+
"Debug",
134+
"Release"
135+
]
136+
},
137+
{
138+
"id": "NukeArchitecture",
139+
"description": "Choose which architecture to build for",
140+
"default": "x64",
141+
"type": "pickString",
142+
"options": [
143+
"x86",
144+
"x64"
145+
]
146+
},
147+
]
148+
}

0 commit comments

Comments
 (0)