help with Sublime Text 3
#7

Код:
{
	"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+"],
	"working_dir": "${file_path}",
	"file_regex": "^([^\\.]+\\.pwn)\\((\\d+)\\)() : (.*)$",
	"variants": [
		{
			"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+", "-l"],
			"working_dir": "${file_path}",
			"name": "Preprocessed output"
		},
		{
			"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+", "-a"],
			"working_dir": "${file_path}",
			"name": "P-code output"
		}
	]
}
This build system means that the directory isn't fixed, so you can work on multiple projects. As long as you have a project attached to your sublime, and that project is at the top of the project tree
e.g.


Then you can build it, as long as you have the pawnocc.exe in the pawno folder of your project.
Reply


Messages In This Thread
help with Sublime Text 3 - by MarkNelson - 02.09.2017, 12:37
Re: help with Sublime Text 3 - by Misiur - 02.09.2017, 13:04
Re: help with Sublime Text 3 - by MarkNelson - 02.09.2017, 13:11
Re: help with Sublime Text 3 - by Misiur - 02.09.2017, 13:13
Re: help with Sublime Text 3 - by MarkNelson - 02.09.2017, 13:16
Re: help with Sublime Text 3 - by Misiur - 02.09.2017, 13:18
Re: help with Sublime Text 3 - by Chilli9434 - 02.09.2017, 13:22
Re: help with Sublime Text 3 - by kAn3 - 02.09.2017, 13:28
Re: help with Sublime Text 3 - by Misiur - 02.09.2017, 13:33
Re: help with Sublime Text 3 - by MarkNelson - 02.09.2017, 13:38

Forum Jump:


Users browsing this thread: 1 Guest(s)