[Pkg-javascript-commits] [pdf.js] 86/141: Require wintersmith when needed

David Prévot taffit at moszumanska.debian.org
Sat Apr 19 22:40:33 UTC 2014


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

taffit pushed a commit to branch master
in repository pdf.js.

commit cffe0fd15a446150ccddcd7241a8665663e0a019
Author: Yury Delendik <ydelendik at mozilla.com>
Date:   Thu Apr 10 19:42:48 2014 -0500

    Require wintersmith when needed
---
 make.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/make.js b/make.js
index ae664f2..2a0be66 100644
--- a/make.js
+++ b/make.js
@@ -23,7 +23,6 @@
 require('./external/shelljs/make');
 var builder = require('./external/builder/builder.js');
 var crlfchecker = require('./external/crlfchecker/crlfchecker.js');
-var wintersmith = require('wintersmith');
 var path = require('path');
 var fs = require('fs');
 
@@ -169,6 +168,7 @@ target.web = function() {
   cp('-R', 'test/features', GH_PAGES_DIR);
   cp('-R', B2G_BUILD_DIR, GH_PAGES_DIR + EXTENSION_SRC_DIR + 'b2g/');
 
+  var wintersmith = require('wintersmith');
   var env = wintersmith('docs/config.json');
   env.build(GH_PAGES_DIR, function (error) {
     if (error) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list