Blob Blame History Raw
commit 2898678ef748d370ab6d63aec82a31c9cb10d2aa
Author: Tom Hughes <tom@compton.nu>
Date:   Thu Oct 6 08:24:21 2016 +0100

    Add manual page

diff --git a/man/jake.1 b/man/jake.1
new file mode 100644
index 0000000..50b86b2
--- /dev/null
+++ b/man/jake.1
@@ -0,0 +1,41 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.44.1.
+.TH JAKE "1" "November 2014" "jake 8.0.10" "User Commands"
+.SH NAME
+jake \- the JavaScript build tool for Node.js
+.SH DESCRIPTION
+Jake is the JavaScript build tool for NodeJS. Jake has been
+around since the very early days of Node, and is very full
+featured and well tested.
+.SH SYNOPSIS
+.B jake [options ...] [env variables ...] target
+.SH OPTIONS
+.TP
+\fB\-f\fR, \fB\-\-jakefile\fR FILE
+Use FILE as the Jakefile.
+.TP
+\fB\-C\fR, \fB\-\-directory\fR DIRECTORY
+Change to DIRECTORY before running tasks.
+.TP
+\fB\-q\fR, \fB\-\-quiet\fR
+Do not log messages to standard output.
+.TP
+\fB\-B\fR, \fB\-\-always\-make\fR
+Unconditionally make all targets.
+.TP
+\fB\-T\fR/ls, \fB\-\-tasks\fR
+Display the tasks (matching optional PATTERN) with descriptions, then exit.
+.TP
+\fB\-J\fR, \fB\-\-jakelibdir\fR JAKELIBDIR
+Auto\-import any .jake files in JAKELIBDIR. (default is 'jakelib')
+.TP
+\fB\-t\fR, \fB\-\-trace\fR
+Enable full backtrace.
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+Display this help message.
+.TP
+\fB\-V\fR/v, \fB\-\-version\fR
+Display the Jake version.
+.SH REPORTING BUGS
+Please report bugs on the GitHub issue tracker:
+<\fBhttps://github.com/mde/jake/issues\fR>
diff --git a/package.json b/package.json
index 28f2d33..25b339b 100644
--- a/package.json
+++ b/package.json
@@ -13,6 +13,7 @@
   "bin": {
     "jake": "./bin/cli.js"
   },
+  "man": "./man/jake.1",
   "main": "./lib/jake.js",
   "scripts": {
     "test": "./bin/cli.js test"