Files
linguist/samples/Sublime Text Config/SourcePawn.sublime-build
2016-10-07 11:38:11 +11:00

20 lines
806 B
Plaintext

{
// For default sourcemod scripting directory :
"cmd": ["<spcomp_path>", "-o$file_path/../plugins/$file_name", "$file"],
// For custom sourcemod scripting directory :
"cmd": ["<spcomp_path>", "-i<include_path>", "-o$file_path/$file_base_name.smx", "$file"],
// Windows example:
"cmd": ["X:/somefolder/spcomp", "-iX:/somefolder", "-o$file_path/$file_base_name.smx", "$file"],
"cmd": ["X:/game/csgo/addons/sourcemod/scripting/spcomp", "-o$file_path/../plugins/$file_name", "$file"],
// Linux or OSX example:
"cmd": ["/home/User/sm/spcomp", "-i/home/User/sm/include", "-o$file_path/$file_base_name.smx", "$file"],
"cmd": ["/home/User/game/csgo/addons/sourcemod/scripting/spcomp", "-o$file_path/../plugins/$file_name", "$file"],
"file_regex": "(.*)\\((\\d+)\\) :",
"selector": "source.sp"
}