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