Skip to content

Commit f5797e3

Browse files
committed
sampctl vscode setup
1 parent 74661e4 commit f5797e3

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

.vscode/tasks.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "build release",
6+
"type": "shell",
7+
"command": "\"C:\\Program Files\\sampctl\\sampctl\" package build release",
8+
"group": {
9+
"kind": "build",
10+
"isDefault": true
11+
},
12+
"isBackground": false,
13+
"presentation": {
14+
"reveal": "silent",
15+
"panel": "dedicated"
16+
},
17+
"problemMatcher": "$sampctl"
18+
},
19+
{
20+
"label": "build debug",
21+
"type": "shell",
22+
"command": "\"C:\\Program Files\\sampctl\\sampctl\" package build debug",
23+
"group": {
24+
"kind": "build",
25+
"isDefault": true
26+
},
27+
"isBackground": false,
28+
"presentation": {
29+
"reveal": "silent",
30+
"panel": "dedicated"
31+
},
32+
"problemMatcher": "$sampctl"
33+
}
34+
]
35+
}

pawn.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"user": "Crayder",
3+
"repo": "Texture-Studio",
4+
"entry": "filterscripts\\tstudio.pwn",
5+
"output": "filterscripts\\tstudio.amx",
6+
"builds": [
7+
{
8+
"name": "release",
9+
"args": ["-;+", "-(+", "-Z+"],
10+
"includes": [".\\pawno\\include\\"]
11+
},
12+
{
13+
"name": "debug",
14+
"args": ["-;+", "-(+", "-d3", "-Z+"],
15+
"includes": [".\\pawno\\include\\"]
16+
}
17+
]
18+
}

0 commit comments

Comments
 (0)