<commit_before>"""version.bzl: Contains constants and rules for Tulsi versioning.
"""

# Version number (recorded into the Info.plist)
TULSI_VERSION_MAJOR = "0"

TULSI_VERSION_FIXLEVEL = "245243065"

TULSI_VERSION_DATE = "20190425"

TULSI_VERSION_COPYRIGHT = "2015-2018"

TULSI_PRODUCT_NAME = "Tulsi"

GOOGLE_VERSION_BUILDNUMBER = "4"

#
# Build things out of the parts.
#
TULSI_VERSIONINFO_LONG = "%s.%s.%s" % (
    TULSI_VERSION_MAJOR,
    TULSI_VERSION_DATE,
    TULSI_VERSION_FIXLEVEL,
)

TULSI_VERSIONINFO_ABOUT = "%s %s\n © %s The Tulsi Authors." % (
    TULSI_PRODUCT_NAME,
    TULSI_VERSIONINFO_LONG,
    TULSI_VERSION_COPYRIGHT,
)

def fill_info_plist_impl(ctx):
    ctx.actions.expand_template(
        template = ctx.file.template,<commit_msg>Updates version number to 0.4.246179039.20190501.<commit_after>"""version.bzl: Contains constants and rules for Tulsi versioning.
"""

# Version number (recorded into the Info.plist)
TULSI_VERSION_MAJOR = "0"

TULSI_VERSION_FIXLEVEL = "246179039"

TULSI_VERSION_DATE = "20190501"

TULSI_VERSION_COPYRIGHT = "2015-2018"

TULSI_PRODUCT_NAME = "Tulsi"

GOOGLE_VERSION_BUILDNUMBER = "4"

#
# Build things out of the parts.
#
TULSI_VERSIONINFO_LONG = "%s.%s.%s" % (
    TULSI_VERSION_MAJOR,
    TULSI_VERSION_DATE,
    TULSI_VERSION_FIXLEVEL,
)

TULSI_VERSIONINFO_ABOUT = "%s %s\n © %s The Tulsi Authors." % (
    TULSI_PRODUCT_NAME,
    TULSI_VERSIONINFO_LONG,
    TULSI_VERSION_COPYRIGHT,
)

def fill_info_plist_impl(ctx):
    ctx.actions.expand_template(
        template = ctx.file.template,
{'fraction_non_alphanumeric': 0.10362694300518134, 'fraction_numerical': 0.04727979274611399, 'mean_word_length': 4.743494423791821, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6288416', 'n_tokens_mistral': 672, 'n_tokens_neox': 610, 'n_words': 109}