1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
From ccd9b7f4148b7738054287947a7a7eb220dea139 Mon Sep 17 00:00:00 2001
From: Reiner Herrmann <reiner@reiner-h.de>
Date: Mon, 1 Aug 2016 10:39:47 +0200
Subject: [PATCH] Enable reproducible building
The current year is embedded into the head of javascript files.
Use a fixed date instead.
Reproducible builds helps verifying that the generated files
are generated from the original sources. See more details at:
https://reproducible-builds.org/
---
build.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build.js b/build.js
index 10e539b..1a09460 100755
--- a/build.js
+++ b/build.js
@@ -5,7 +5,7 @@ var fs = require('fs');
var hint = require("jshint").JSHINT;
var uglify = require('uglify-js');
-var banner = '/*! iScroll v' + pkg.version + ' ~ (c) 2008-' + (new Date().getFullYear()) + ' Matteo Spinelli ~ http://cubiq.org/license */\n';
+var banner = '/*! iScroll v' + pkg.version + ' ~ (c) 2008-2015 Matteo Spinelli ~ http://cubiq.org/license */\n';
var releases = {
lite: {
--
2.1.4
|