Raised This Month: $ Target: $400
 0% 

Compile plugins easily in Notepad++


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 05-29-2015 , 00:54   Re: Compile plugins easily in Notepad++
Reply With Quote #3

This was already posted by some in the sourcemod highlighting threads, as well as other shortcuts (binding to keyboard, etc.). I've personally adapted the script to the following:

Code:
NPP_SAVE
cd "$(CURRENT_DIRECTORY)"
cmd /q /c del /q "$(CURRENT_DIRECTORY)\$(NAME_PART).smx"
cmd /q /c del /q "$(CURRENT_DIRECTORY)\compiled\$(NAME_PART).smx"
spcomp.exe $(FILE_NAME)
cmd /q /c copy "$(CURRENT_DIRECTORY)\$(NAME_PART).smx" "$(CURRENT_DIRECTORY)\compiled\$(NAME_PART).smx"
Ensures all old versions are gone (no more "already compiled" message), then copies it from the main directory to the compiled folder as well. Makes life easy. Hope this helps ya.
__________________
ThatOneGuy 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:28.


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