[Pkg-javascript-commits] [node-chalk] 02/11: Plug mkorig in watchfile for some modules
Jérémy Lal
kapouer at moszumanska.debian.org
Sun Jul 27 17:21:19 UTC 2014
This is an automated email from the git hooks/post-receive script.
kapouer pushed a commit to branch master
in repository node-chalk.
commit 600d83f5235251ad9df3ea0aec89ff5a36a78132
Author: Jérémy Lal <kapouer at melix.org>
Date: Sun Jul 27 14:06:55 2014 +0200
Plug mkorig in watchfile for some modules
---
debian/rules | 3 ++-
debian/watch | 10 +++++++++-
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index d1b1f99..c82893e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,4 +12,5 @@
override_dh_auto_test:
mocha
-
+get-orig-source:
+ uscan --force-download
diff --git a/debian/watch b/debian/watch
index 9d78e06..b6fdbd6 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,13 @@
version=3
opts=\
dversionmangle=s/\?(debian|dfsg|ds|deb)\d*$//,\
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/escape-string-regexp-$1.tar.gz/ \
+ https://github.com/sindresorhus/escape-string-regexp/tags .*/archive/v?([\d\.]+).tar.gz \
+ debian ./debian/mkorig node_modules/escape-string-regexp
+
+opts=\
+dversionmangle=s/\?(debian|dfsg|ds|deb)\d*$//,\
filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-chalk-$1.tar.gz/ \
- https://github.com/sindresorhus/chalk/tags .*/archive/v?([\d\.]+).tar.gz
+ https://github.com/sindresorhus/chalk/tags .*/archive/v?([\d\.]+).tar.gz \
+ debian ./debian/mkorig
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-chalk.git
More information about the Pkg-javascript-commits
mailing list