[Pkg-javascript-commits] [node-bluebird] 01/07: Regenerate bluebird.min.js from original source.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Wed Mar 4 22:46:40 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository node-bluebird.
commit 45a47b2af6b8072761e5a36a39d08f8e3d720baa
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Wed Mar 4 22:37:17 2015 +0100
Regenerate bluebird.min.js from original source.
---
debian/changelog | 1 +
debian/control | 1 +
debian/libjs-bluebird.install | 3 ++-
debian/rules | 8 ++++++++
4 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 7703fc1..1cbe000 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,5 +13,6 @@ node-bluebird (2.9.13+dfsg-1) unstable; urgency=low
* Add myself to Uploaders.
* Update Vcs-Browser URL to use cgit instead of gitweb.
* Improve package description.
+ * Regenerate bluebird.min.js from original source.
-- Ross Gammon <rossgammon at mail.dk> Wed, 04 Mar 2015 21:39:49 +0100
diff --git a/debian/control b/debian/control
index 1881850..938d262 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Priority: extra
Build-Depends: debhelper (>= 9),
dh-buildinfo,
nodejs,
+ node-uglify
Standards-Version: 3.9.6
Vcs-Browser: http://anonscm.debian.org/cgit/pkg-javascript/node-bluebird.git
Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-bluebird.git
diff --git a/debian/libjs-bluebird.install b/debian/libjs-bluebird.install
index 96dbcb1..e013eaa 100644
--- a/debian/libjs-bluebird.install
+++ b/debian/libjs-bluebird.install
@@ -1 +1,2 @@
-js/browser/* usr/share/javascript/bluebird/
+js/browser/bluebird.js usr/share/javascript/bluebird/
+bluebird.min.js usr/share/javascript/bluebird/
diff --git a/debian/rules b/debian/rules
index 218df65..f1659cf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,3 +6,11 @@
%:
dh $@
+
+override_dh_clean:
+ dh_clean bluebird.min.js
+
+override_dh_auto_build:
+ # Minify Javascript
+ uglifyjs -o bluebird.min.js js/browser/bluebird.js
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-bluebird.git
More information about the Pkg-javascript-commits
mailing list