[latex3-commits] [l3svn] branch master updated: Alllow l3build to override versioning function

noreply at latex-project.org noreply at latex-project.org
Mon Nov 9 10:26:52 CET 2015


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

The following commit(s) were added to refs/heads/master by this push:
       new  d4854ed   Alllow l3build to override versioning function
d4854ed is described below

commit d4854edb4a9a0d3593c42a676e5cd87993a5881a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Nov 9 09:26:20 2015 +0000

    Alllow l3build to override versioning function
    
    This is needed so l3build.lua itself gets version data set.
---
 build-config.lua |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/build-config.lua b/build-config.lua
index 38eb9e4..42b4ee5 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -23,7 +23,8 @@ if unpacksearch == nil then
 end
 
 -- Detail how to set the version automatically
-function setversion_update_line(line, date, version)
+setversion_update_line =
+  setversion_update_line or function(line, date, version)
   local date = string.gsub(date, "%-", "/")
   -- Replace the identifiers
   if string.match(line, "^\\def\\ExplFileDate{%d%d%d%d/%d%d/%d%d}%%?$") then

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list