[Pkg-javascript-commits] [libjs-handlebars] 01/01: use system jison

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Nov 14 16:54:19 UTC 2016


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

praveen pushed a commit to branch master
in repository libjs-handlebars.

commit 6652e3a74c235e4515eef52a9167fcf882b0ffa7
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Mon Nov 14 22:24:02 2016 +0530

    use system jison
---
 debian/patches/series                 |  1 +
 debian/patches/use-system-jison.patch | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index fb72d6f..07ad71b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 use-global-tasks.patch
 remove-eslint.patch
+use-system-jison.patch
diff --git a/debian/patches/use-system-jison.patch b/debian/patches/use-system-jison.patch
new file mode 100644
index 0000000..e30add4
--- /dev/null
+++ b/debian/patches/use-system-jison.patch
@@ -0,0 +1,13 @@
+Index: libjs-handlebars/tasks/parser.js
+===================================================================
+--- libjs-handlebars.orig/tasks/parser.js
++++ libjs-handlebars/tasks/parser.js
+@@ -4,7 +4,7 @@ module.exports = function(grunt) {
+   grunt.registerTask('parser', 'Generate jison parser.', function() {
+     var done = this.async();
+ 
+-    var cmd = './node_modules/.bin/jison';
++    var cmd = '/usr/bin/jison';
+ 
+     if (process.platform === 'win32') {
+         cmd = 'node_modules\\.bin\\jison.cmd';

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



More information about the Pkg-javascript-commits mailing list