[Pkg-javascript-commits] [node-moment] 06/07: Ship locales, closing #815482

Julien Puydt julien.puydt at laposte.net
Sat May 14 19:51:55 UTC 2016


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

jpuydt-guest pushed a commit to branch master
in repository node-moment.

commit 6cfc9e5fe9d606dc94d7814f740a33795cf9064d
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Sat May 14 16:34:31 2016 +0200

    Ship locales, closing #815482
---
 debian/changelog            | 2 ++
 debian/libjs-moment.install | 5 ++++-
 debian/node-moment.links    | 2 +-
 debian/rules                | 1 +
 4 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1d38980..d8a895c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ node-moment (2.13.0+ds-1) UNRELEASED; urgency=medium
   * New upstream release.
   * Pushed standards-version up.
   * Use https in Vcs-* fields.
+  * Ship locales. (Closes: #815482)
+
  -- Julien Puydt <julien.puydt at laposte.net>  Sat, 14 May 2016 16:10:51 +0200
 
 node-moment (2.11.0+ds-1) unstable; urgency=medium
diff --git a/debian/libjs-moment.install b/debian/libjs-moment.install
index 100f508..26c08dc 100644
--- a/debian/libjs-moment.install
+++ b/debian/libjs-moment.install
@@ -1,2 +1,5 @@
 moment.js usr/share/javascript/moment
-moment.min.js usr/share/javascript/moment
\ No newline at end of file
+moment.min.js usr/share/javascript/moment
+locale usr/share/javascript/moment/locale
+min/moment-with-locales.js usr/share/javascript/moment
+min/moment-with-locales.min.js usr/share/javascript/moment
diff --git a/debian/node-moment.links b/debian/node-moment.links
index 605338b..9241c1f 100644
--- a/debian/node-moment.links
+++ b/debian/node-moment.links
@@ -1 +1 @@
-usr/share/javascript/moment/moment.js usr/lib/nodejs/moment.js
\ No newline at end of file
+usr/share/javascript/moment/moment.js usr/lib/nodejs/moment.js
diff --git a/debian/rules b/debian/rules
index e7fb335..e0728f4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,3 +8,4 @@
 
 override_dh_auto_build:
 	uglifyjs moment.js -o moment.min.js
+	uglifyjs min/moment-with-locales.js -o min/moment-with-locales.min.js

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



More information about the Pkg-javascript-commits mailing list