Mercurial > hg
view contrib/wix/defines.wxi @ 20370:aa51392da507
template: add pad function for padding output
Adds a pad template function with the following signature:
pad(text, width, fillchar=' ', right=False)
This uses the standard python ljust and rjust functions to produce a string
that is at least a certain width. This is useful for aligning variable length
strings in log output (like user names or shortest(node) output).
author | Durham Goode <durham@fb.com> |
---|---|
date | Fri, 17 Jan 2014 00:16:48 -0800 |
parents | bd9bc4123920 |
children |
line wrap: on
line source
<Include> <?if $(var.Platform) = "x64" ?> <?define IsX64 = yes ?> <?else?> <?define IsX64 = no ?> <?endif?> </Include>