diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-23 00:13:35 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-23 00:13:35 +0100 |
commit | 0f98d411d5524e7f14effcb964d2d63ec673a849 (patch) | |
tree | 1b7a4b7216ac0e88123c6d7e7bbdb5a311c7b660 /pogen | |
parent | 0949bead0455aa57e4b897a7913970fc492354b5 (diff) |
more reproducible build (fixed time stamp, sort files)
Diffstat (limited to 'pogen')
-rw-r--r-- | pogen/pogen.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pogen/pogen.ts b/pogen/pogen.ts index 3421d7070..090a6efee 100644 --- a/pogen/pogen.ts +++ b/pogen/pogen.ts @@ -29,7 +29,6 @@ "use strict"; import {readFileSync} from "fs"; -import {execSync} from "child_process"; import * as ts from "typescript"; @@ -372,7 +371,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\\n" "Report-Msgid-Bugs-To: \\n" -"POT-Creation-Date: ${execSync("date '+%F %H:%M%z'").toString().trim()}\\n" +"POT-Creation-Date: 2016-11-23 00:00+0100\\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\\n" "Language-Team: LANGUAGE <LL@li.org>\\n" @@ -382,6 +381,8 @@ msgstr "" "Content-Transfer-Encoding: 8bit\\n"`); console.log() +fileNames.sort(); + fileNames.forEach(fileName => { let sourceFile = ts.createSourceFile(fileName, readFileSync(fileName).toString(), ts.ScriptTarget.ES2016, /*setParentNodes */ true); processFile(sourceFile); |