SkyrimForge.com
Mods
Authors
Forums
Wiki
Store
Paste
Sign in
Register new account
SkyrimForge.com Wiki
Repositories
/
Repository keyword substitutions
r1
Source
Markup:
When repositories are packaged, certain keyword substitutions take place on text files. == Simple replacements == ; @file-revision@ : Turns into the current revision of the file in integer form. e.g. <tt>1234</tt> '''Note: does not work for git''' ; @project-revision@ : Turns into the highest revision of the entire project in integer form. e.g. <tt>1234</tt> '''Note: does not work for git''' ; @file-hash@ : Turns into the hash of the file in hex form. e.g. <tt>106c634df4b3dd4691bf24e148a23e9af35165ea</tt> '''Note: does not work for svn''' ; @project-hash@ : Turns into the hash of the entire project in hex form. e.g. <tt>106c634df4b3dd4691bf24e148a23e9af35165ea</tt> '''Note: does not work for svn''' ; @file-abbreviated-hash@ : Turns into the abbreviated hash of the file in hex form. e.g. <tt>106c63</tt> '''Note: does not work for svn''' ; @project-abbreviated-hash@ : Turns into the abbreviated hash of the entire project in hex form. e.g. <tt>106c63</tt> '''Note: does not work for svn''' ; @file-author@ : Turns into the last author of the file. e.g. <tt>ckknight</tt> ; @project-author@ : Turns into the last author of the entire project. e.g. <tt>ckknight</tt> ; @file-date-iso@ : Turns into the last changed date (by UTC) of the file in ISO 8601. e.g. <tt>2008-05-01T12:34:56Z</tt> ; @project-date-iso@ : Turns into the last changed date (by UTC) of the entire project in ISO 8601. e.g. <tt>2008-05-01T12:34:56Z</tt> ; @file-date-integer@ : Turns into the last changed date (by UTC) of the file in a readable integer fashion. e.g. <tt>20080501123456</tt> ; @project-date-integer@ : Turns into the last changed date (by UTC) of the entire project in a readable integer fashion. e.g. <tt>2008050123456</tt> ; @file-timestamp@ : Turns into the last changed date (by UTC) of the file in POSIX timestamp. e.g. <tt>1209663296</tt> ; @project-timestamp@ : Turns into the last changed date (by UTC) of the entire project in a readable integer fashion. e.g. <tt>1209663296</tt> ; @project-version@ : Turns into an approximate version of the project. The tag name if on a tag, otherwise it's up to the repo. SVN returns something like "r1234", Git returns something like "v0.1-873fc1", Mercurial returns something like "r1234". == Debug replacements == These occur based on filetype, as they tend to tie into the comment system for the file. The insides aren't removed so that line numbers stay the same, they just cause them to be commented out. === Lua === ; --@debug@ and --@end-debug@. : Turn into --[===[@debug and --@end-debug]===]. ; --[===[@non-debug@ and --@end-non-debug@]===]. : Turn into --@non-debug@ and --@end-non-debug@. === XML === ; <nowiki><!--@debug@--> and <!--@end-debug@-->.</nowiki> : <nowiki>Turn into <!--@debug and @end-debug@-->.</nowiki> ; <nowiki><!--@non-debug@ and @end-non-debug@-->.</nowiki> : <nowiki>Turn into <!--@non-debug@--> and <!--@end-non-debug@-->.</nowiki> == Alpha replacements == These occur based on filetype, as they tend to tie into the comment system for the file. The insides aren't removed so that line numbers stay the same, they just cause them to be commented out. These occur from packages created not from tags, i.e. alpha packages. This is useful to put extra debugging information that you want your alpha testers to have, but don't want to appear in release versions. === Lua === ; --@alpha@ and --@end-alpha@. : Turn into --[===[@alpha@ and --@end-alpha@]===]. ; --[===[@non-alpha@ and --@end-non-alpha@]===]. : Turn into --@non-alpha@ and --@end-non-alpha@. === XML === ; <nowiki><!--@alpha@--> and <!--@end-alpha@-->.</nowiki> : <nowiki>Turn into <!--@alpha and @end-alpha@-->.</nowiki> ; <nowiki><!--@non-alpha@ and @end-non-alpha@-->.</nowiki> : <nowiki>Turn into <!--@non-alpha@--> and <!--@end-non-alpha@-->.</nowiki> == No-ext replacements == These occur based on filetype, as they tend to tie into the comment system for the file. The insides aren't removed so that line numbers stay the same, they just cause them to be commented out. These only occur on packages marked as -noext. === TOC === ; #@no-ext-strip@ and #@end-no-ext-strip@. : Turn into # stripping externals and # done stripping externals, as well as adding a # to the beginning of each line in-between. === XML === ; <nowiki><!--@no-ext-strip@--> and <!--@end-no-ext-strip@-->.</nowiki> : <nowiki>Turn into <!--@no-ext-strip and @end-no-ext-strip@-->.</nowiki>
Markup Type:
The type of markup for this entry.
Click here for details
.
BBCode
Curse Wiki (Deprecated)
Markdown
Plain Text
Safe HTML
WikiCreole
<div><img src="//secure-us.imrworldwide.com/cgi-bin/m?ci=us-603339h&cg=0&cc=1&ts=noscript" width="1" height="1" alt="" /></div>