mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			806 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			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"
 | 
						|
}
 |