11.08.2016, 15:39
You need to escape backslashes:
If you use sublime projects, you can use my build:
There's also Southclaw's great package: https://github.com/Southclaw/pawn-sublime-language
Код:
{ "cmd": ["pawncc.exe", "$file", "-o$file_path\\\\$file_base_name", "-;+", "-(+", "-d3"], "file_regex": "(.*?)[(]([0-9]*)[)]", "working_dir": "C:\\Users\\aflid\\Documents\\zserveur samp\\SQL\\pawno" }
Код:
{ "cmd": ["${project_path:${folder}}\\pawno\\pawncc.exe", "${project_base_name}.pwn", "-;+", "-v2", "-d3", "-\\)+"], "working_dir": "${project_path:${folder}}\\gamemodes", "file_regex": "^([^\\.]+\\.pwn)\\((\\d+)\\)() : (.*)$", "variants": [ { "cmd": ["${project_path:${folder}}\\pawno\\pawncc.exe", "${file_name}", "-;+", "-v2", "-d3", "-\\)+"], "working_dir": "${file_path}", "name": "Current file" }, { "cmd": ["${project_path:${folder}}\\pawno\\pawncc.exe", "${file_name}", "-l", "-;+", "-v2", "-d3", "-\\)+"], "working_dir": "${file_path}", "name": "Current file preprocessed" }, { "cmd": ["${project_path:${folder}}\\pawno\\pawncc.exe", "${file_name}", "-a", "-;+", "-v2", "-d3", "-\\)+"], "working_dir": "${file_path}", "name": "Current file pcode" } ] }