[Pkg-javascript-commits] [node-grunt-cli] 01/01: use global grunt
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sat Nov 12 10:01:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository node-grunt-cli.
commit f9ad4bea6c1db89a15ac6a46ec76f6249299cac0
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sat Nov 12 15:29:39 2016 +0530
use global grunt
---
debian/changelog | 7 +++++++
debian/control | 4 +++-
debian/patches/series | 1 +
debian/patches/use-global-grunt.patch | 18 ++++++++++++++++++
4 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 0ed5c67..61a9579 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+node-grunt-cli (1.2.0-3) unstable; urgency=medium
+
+ * Allow using global grunt
+ * Add myself to uploaders
+
+ -- Pirate Praveen <praveen at debian.org> Sat, 12 Nov 2016 15:29:10 +0530
+
node-grunt-cli (1.2.0-2) unstable; urgency=medium
* Team upload
diff --git a/debian/control b/debian/control
index a60741c..2eb75fd 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,9 @@ Source: node-grunt-cli
Section: web
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
-Uploaders: Tim Potter <tpot at hpe.com>
+Uploaders:
+ Tim Potter <tpot at hpe.com>
+ , Pirate Praveen <praveen at debian.org>
Build-Depends:
debhelper (>= 9)
, dh-buildinfo
diff --git a/debian/patches/series b/debian/patches/series
index a2a471b..597722e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
use-nodejs.patch
+use-global-grunt.patch
diff --git a/debian/patches/use-global-grunt.patch b/debian/patches/use-global-grunt.patch
new file mode 100644
index 0000000..8c64720
--- /dev/null
+++ b/debian/patches/use-global-grunt.patch
@@ -0,0 +1,18 @@
+Bug: https://github.com/gruntjs/grunt-cli/pull/55
+
+Index: node-grunt-cli/bin/grunt
+===================================================================
+--- node-grunt-cli.orig/bin/grunt
++++ node-grunt-cli/bin/grunt
+@@ -32,6 +32,11 @@ try {
+ gruntpath = resolve('grunt', {basedir: basedir});
+ } catch (ex) {
+ gruntpath = findup('lib/grunt.js');
++ // look for global grunt install
++ if (!gruntpath)
++ try {
++ gruntpath = require.resolve('grunt');
++ } catch (ex) { }
+ // No grunt install found!
+ if (!gruntpath) {
+ if (options.version) { process.exit(); }
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-grunt-cli.git
More information about the Pkg-javascript-commits
mailing list