[Pkg-javascript-commits] [node-strip-json-comments] 04/11: Remove everything related to the command-line tool
Julien Puydt
julien.puydt at laposte.net
Sat May 14 07:12:01 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-strip-json-comments.
commit 116815bb92dae6a6da4ebeedb54ac0e7e2c4e4df
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Fri Jan 8 16:40:04 2016 +0100
Remove everything related to the command-line tool
---
debian/install | 1 -
debian/manpages | 1 -
debian/patches/series | 1 -
debian/patches/use_nodejs.patch | 11 -----------
debian/rules | 4 ----
debian/strip-json-comments.1 | 26 --------------------------
6 files changed, 44 deletions(-)
diff --git a/debian/install b/debian/install
index 5be0ddc..b11cb48 100644
--- a/debian/install
+++ b/debian/install
@@ -1,3 +1,2 @@
package.json usr/lib/nodejs/strip-json-comments/
strip-json-comments.js usr/lib/nodejs/strip-json-comments/
-cli.js usr/lib/nodejs/strip-json-comments/
diff --git a/debian/manpages b/debian/manpages
deleted file mode 100644
index bbd0457..0000000
--- a/debian/manpages
+++ /dev/null
@@ -1 +0,0 @@
-debian/strip-json-comments.1
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 9b41a8d..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-use_nodejs.patch
diff --git a/debian/patches/use_nodejs.patch b/debian/patches/use_nodejs.patch
deleted file mode 100644
index cd37ccc..0000000
--- a/debian/patches/use_nodejs.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-Description: on Debian the name is nodejs
-Author: Julien Puydt
-Forwarded: no
---- a/cli.js
-+++ b/cli.js
-@@ -1,4 +1,4 @@
--#!/usr/bin/env node
-+#!/usr/bin/env nodejs
- 'use strict';
- var fs = require('fs');
- var strip = require('./strip-json-comments');
diff --git a/debian/rules b/debian/rules
index f7913a0..a50acba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,9 +6,5 @@
%:
dh $@
-override_dh_install:
- chmod +x cli.js
- dh_install
-
override_dh_auto_test:
mocha --ui tdd test.js
diff --git a/debian/strip-json-comments.1 b/debian/strip-json-comments.1
deleted file mode 100644
index 44ce3ef..0000000
--- a/debian/strip-json-comments.1
+++ /dev/null
@@ -1,26 +0,0 @@
-.TH STRIP-JSON-COMMENTS "1" "Jun 2015" "strip-json-comments" "User Commands"
-.SH NAME
-strip-json-comments \- strip JSON comments
-.SH SYNOPSIS
-.B strip-json-comments -h
-
-.B strip-json-comments -v
-
-.B strip-json-comments <infile>
-.SH DESCRIPTION
-.TP
-Strips JSON comments from input, either from a named file, or from stdin. The filtered
-output is on stdout.
-.SH OPTION
-.TP
-.BI "-v"
-prints the version
-.TP
-.BI "-h"
-prints help screen with example uses
-.SH EXAMPLES
-.TP
-cat input.json | strip-json-comments > output.json
-.TP
-strip-json-comments input.json > output.json
-
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-strip-json-comments.git
More information about the Pkg-javascript-commits
mailing list