diff --git a/debian/patches/disable-tests.patch b/debian/patches/disable-tests.patch deleted file mode 100644 index 1a8ebe5..0000000 --- a/debian/patches/disable-tests.patch +++ /dev/null @@ -1,13 +0,0 @@ -Description: Disable tests -Index: node-jison/Makefile -=================================================================== ---- node-jison.orig/Makefile -+++ node-jison/Makefile -@@ -16,5 +16,5 @@ deploy: - cd ../pages/jison && git add . && git commit -m 'Deploy site updates' && git push origin gh-pages - - test: -- node tests/all-tests.js -- -+# node tests/all-tests.js -+ echo "Disable tests. TODO: Fix tests" diff --git a/debian/patches/series b/debian/patches/series index 33af65d..a2a471b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1 @@ -disable-tests.patch use-nodejs.patch diff --git a/debian/patches/use-nodejs.patch b/debian/patches/use-nodejs.patch index db9afd1..bb5a3a7 100644 --- a/debian/patches/use-nodejs.patch +++ b/debian/patches/use-nodejs.patch @@ -1,11 +1,9 @@ Description: Use nodejs -Index: node-jison/lib/cli.js -=================================================================== ---- node-jison.orig/lib/cli.js -+++ node-jison/lib/cli.js +--- a/lib/cli.js ++++ b/lib/cli.js @@ -1,4 +1,4 @@ -#!/usr/bin/env node -+#!/usr/bin/env nodejs ++#!/usr/bin/node function getCommandlineOptions () { "use strict";