Raised This Month: $ Target: $400
 0% 

Text log of compile.exe


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SEGnosis
Senior Member
Join Date: Oct 2012
Old 10-25-2012 , 14:50   Re: Text log of compile.exe
Reply With Quote #1

Quote:
Originally Posted by Bacardi View Post
You could make batch file ?
That works great, thanks

Quote:
Originally Posted by 11530 View Post
Use the -e parameter to output errors, if they exist, to a file relative to the .sp's location.
Can you explain this a bit more? I passed the -e parameter and it does not do anything
SEGnosis is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 10-25-2012 , 15:01   Re: Text log of compile.exe
Reply With Quote #2

Quote:
Originally Posted by SEGnosis View Post
That works great, thanks

Can you explain this a bit more? I passed the -e parameter and it does not do anything
Depends how you use it, but chances are you probably compile your files like:

Code:
spcomp.exe someplugin.sp
Instead use:

Code:
spcomp.exe -eCompilerResults.txt someplugin.sp
If it compiles fine then it will do it silently - however if there are warnings/errors then it will output the results to CompilerResults.txt.
__________________
11530 is offline
SEGnosis
Senior Member
Join Date: Oct 2012
Old 10-25-2012 , 16:33   Re: Text log of compile.exe
Reply With Quote #3

Quote:
Originally Posted by 11530 View Post
Depends how you use it, but chances are you probably compile your files like:

Code:
spcomp.exe someplugin.sp
Instead use:

Code:
spcomp.exe -eCompilerResults.txt someplugin.sp
If it compiles fine then it will do it silently - however if there are warnings/errors then it will output the results to CompilerResults.txt.
Just what I was looking for, thanks!

I am making a small App that will automate the compile and upload with Notepad++. It only show real errors to save hours of hassles.
SEGnosis is offline
Reply



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 11:42.


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