[Pkg-javascript-commits] [node-umd] 01/02: run uglify on build

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Fri Oct 14 06:55:43 UTC 2016


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

praveen pushed a commit to branch master
in repository node-umd.

commit 6bcc8c25359fbee3478736be4003255f73bbc41f
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Fri Oct 14 12:20:30 2016 +0530

    run uglify on build
---
 debian/control | 1 +
 debian/rules   | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index cd7e4d8..38a2cde 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , node-uglify
 Standards-Version: 3.9.8
 Homepage: https://github.com/ForbesLindesay/umd
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-umd.git
diff --git a/debian/rules b/debian/rules
index de57af0..b6d959e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,9 @@
 %:
 	dh $@
 
-#override_dh_auto_build:
+override_dh_auto_build:
+	dh_auto_build
+	uglifyjs template.js > template.min.js && brfs source.js > index.js
 
 #override_dh_auto_test:
 

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



More information about the Pkg-javascript-commits mailing list