[AHK] Move .smx to plugins folder and overwrite old
I made a simple AHK script that searches for newly compiled .smx files and moves them to your plugins folder (overwriting any old version if one exists - didn't bother with making a backup).
Code:
#NoEnvPut this in your scripting\ folder (same folder that compile.exe is) and run it. The folders are relatively pathed, so you don't need to change the filepath. Some day I might figure out how to make it run automatically when you run compile.exe, but I'm not good enough to figure out how to do that immediately ;p |
Re: [AHK] Move .smx to plugins folder and overwrite old
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",Code:
spcomp -oC:\Plugin\Goes\Here.smx code.sp |
Re: [AHK] Move .smx to plugins folder and overwrite old
more typing than drag n drop compile.exe ;P
|
Re: [AHK] Move .smx to plugins folder and overwrite old
for anyone wanting to do this with a remote directory (so it uploads automatically as you compile), the FTP client WinSCP has a Synchronize button that works flawlessly.
|
| All times are GMT -4. The time now is 18:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.