Raised This Month: $ Target: $400
 0% 

[AHK] Move .smx to plugins folder and overwrite old


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
VoiDeD
AlliedModders Donor
Join Date: Mar 2009
Location: Illinois, USA
Old 08-06-2014 , 14:55   Re: [AHK] Move .smx to plugins folder and overwrite old
Reply With Quote #2

spcomp supports an output flag that you can use. Here's an example from my sublime build file that should give you an idea:

Code:
		"//trunk/SRCDS/srcds_new/tf/addons/sourcemod/scripting/spcomp",

			// working directory
			"-D//trunk/SRCDS/srcds_new/tf/addons/sourcemod/scripting",

			// includes
			"-i//trunk/Dev/SourceMod/plugins/includes",
			"-i$file_path/include",
			"-i$file_path/../include",
			"-i$file_path/../thelpers",

			// output file
			"-o//trunk/SRCDS/srcds_new/tf/addons/sourcemod/plugins/$file_base_name.smx",

			// input file
			"$file"
How you'd use that:

Code:
spcomp -oC:\Plugin\Goes\Here.smx code.sp
__________________
VoiDeD is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode