Results 1 to 1 of 1
Friend wanted to know how to do this, just in case someone else does too here it is:
in the menu Build -> Set Includes and Arguments, add this to ...
- 11-16-2009 #1
[Geany] Keeping/Incrementing current build number automatically.
Friend wanted to know how to do this, just in case someone else does too here it is:
in the menu Build -> Set Includes and Arguments, add this to the end of the BUILD field:
Don't put it in the Compile field, that way you won't waste your time incrementing the build number when gcc[++] gives errors. Hopefully there's (or will be) a plugin to do this for Geany soon, but since my Company won't update software I'd have to use this anyway.Code:; if [ -f Build ]; then buildct=`cat Build` && expr $buildct + 1 >Build; else cat 1 >Build; fi;


Reply With Quote
