forked from iMCSx/T5GSCLoader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCenturyPackage.code-workspace
More file actions
134 lines (134 loc) · 4.46 KB
/
CenturyPackage.code-workspace
File metadata and controls
134 lines (134 loc) · 4.46 KB
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
{
"folders": [
{
"path": "."
}
],
"settings": {
"files.exclude": {
"bin": true,
"objs": true,
},
"consoleIp": "192.168.178.127",
"gameVersion": "BLES01033",
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"[c]": {
"editor.defaultFormatter": "xaver.clang-format"
},
"terminal.integrated.defaultProfile.windows": "MSYS2",
"C_Cpp.errorSquiggles": "enabled",
"clang-format.executable": "clang-format",
"clang-format.style": "file",
"clang-format.fallbackStyle": "Google",
"C_Cpp.default.includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/src",
"${workspaceFolder}/src/**",
"${env:SCE_PS3_ROOT}/target/ppu/include",
"${env:SCE_PS3_ROOT}/target/common/include",
"${env:SCE_PS3_ROOT}/host-win32/ppu/lib/gcc/ppu-lv2/4.1.1/include"
],
"C_Cpp.default.browse.path": [
"${workspaceFolder}/src"
],
"C_Cpp.default.browse.limitSymbolsToIncludedHeaders": true,
"C_Cpp.default.compilerPath": "${env:SCE_PS3_ROOT}/host-win32/ppu/bin/ppu-lv2-gcc",
"files.associations": {
"types.h": "c",
"prx.h": "c"
},
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "clang-format",
"type": "shell",
"windows": {
"command": "make format"
},
"options": {},
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Build Debug",
"type": "shell",
"windows": {
"command": "make clean && make -j"
},
"options": {},
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Deploy Debug",
"type": "shell",
"windows": {
"command": "curl -T bin/debug/${workspaceFolderBasename}.sprx --ftp-create-dirs ftp://${config:consoleIp}/dev_hdd0/tmp/SprxLoader/${config:gameVersion}/${workspaceFolderBasename}.sprx"
},
"options": {},
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Build Release",
"type": "shell",
"windows": {
"command": "make release -j"
},
"options": {},
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Deploy Release",
"type": "shell",
"windows": {
"command": "curl -T bin/release/${workspaceFolderBasename}.sprx --ftp-create-dirs ftp://${config:consoleIp}/dev_hdd0/tmp/SprxLoader/${config:gameVersion}/${workspaceFolderBasename}.sprx"
},
"options": {},
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "[GSC] Deploy scripts",
"type": "shell",
"windows": {
// Be careful with ftp commands since the commands are with root privileges.
// This command will only replace existing files on console.
"command": "find tmp/T5GSCLoader -type f -exec curl --ftp-create-dirs -T '{}' ftp://${config:consoleIp}/dev_hdd0/'\\{}' ';'"
},
"options": {},
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
}
]
},
"extensions": {
"recommendations": [
"ms-vscode.cpptools-extension-pack",
"xaver.clang-format",
"ms-vscode.makefile-tools",
],
}
}