From e96a804cd889eb63380ccb778f23ad15d9fd6705 Mon Sep 17 00:00:00 2001 From: Contra Date: Tue, 24 Jun 2014 13:52:46 -0700 Subject: [PATCH] manpage generation for #530 --- .gitignore | 1 + CHANGELOG.md | 4 ++++ package.json | 5 ++++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f93c39518..cef23f007 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ coverage sandbox test/out-fixtures/* test/watch-*.txt +gulp.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d883db22..2ed51a59c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # gulp changelog +# 3.8.2 + +- add manpage generation + # 3.8.1 - the CLI now adds process.env.INIT_CWD which is the original cwd it was launched from diff --git a/package.json b/package.json index 8d4170bef..6ee46ac4a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "gulp", "description": "The streaming build system", - "version": "3.8.1", + "version": "3.8.2", "homepage": "http://gulpjs.com", "repository": "gulpjs/gulp", "author": "Fractal (http://wearefractal.com/)", @@ -23,6 +23,7 @@ "bin": { "gulp": "./bin/gulp.js" }, + "man": "gulp.1", "dependencies": { "archy": "^0.0.2", "chalk": "^0.4.0", @@ -43,6 +44,7 @@ "istanbul": "^0.2.3", "jshint": "^2.5.0", "jshint-stylish": "^0.2.0", + "marked-man": "^0.1.3", "mkdirp": "^0.5.0", "mocha": "^1.17.0", "mocha-lcov-reporter": "^0.0.1", @@ -51,6 +53,7 @@ "should": "^4.0.0" }, "scripts": { + "prepublish": "marked-man --name gulp docs/CLI.md > gulp.1", "lint": "jshint lib bin index.js --reporter node_modules/jshint-stylish/stylish.js --exclude node_modules", "test": "npm run-script lint && mocha --reporter spec", "coveralls": "istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"