Skip to content
This repository has been archived by the owner on Jul 18, 2021. It is now read-only.

Commit

Permalink
Upgraded to Grunt 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Lobodinský committed Apr 9, 2016
1 parent ffaac41 commit 76837e8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.1.0 / 2014-04-25

* Initial release

# 0.1.1 / 2016-04-09

* Updated to Grunt 1.0.1
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Intro

You have a long running app and you want its output to be processed by another utility.
For example, if your Node.js app uses Bunyan for logging, you surely want the output to be pretty-printed. I.e. to pipe the output of your app to Bunyan.
For example, your Node.js app uses Bunyan for logging, you want the output to be pretty-printed. I.e. to pipe the output of your app to Bunyan.

Existing Grunt plugins use two approaches:

Expand All @@ -16,7 +16,7 @@ This plugin is here to allow you to spawn processes and pipe them together.

# Getting Started

This plugin requires Grunt `~0.4.0` and was tested on OS X operating system.
This plugin requires Grunt `~1.0.1` and was tested on OS X operating system.

Install the plugin:

Expand All @@ -37,7 +37,7 @@ Run this task with the `grunt spawnPipe` command.
### Options

The options you set are passed over to every call to Node's `spawn()` function.
Read [Node doc](http://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options) for more details on which options you can set.
Read [Node doc](https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options) for more details on which options you can set.

### Usage example

Expand Down Expand Up @@ -79,7 +79,7 @@ module.exports = function(grunt) {

### Error handling

If an error occurs in any of the command for example because of a typo in command name, the first command is killed to ensure the whole piped chain gets terminated.
If an error occurs in any of the command, for example because of a typo in command name, the first command is killed to ensure the whole piped chain gets terminated.

### Environment

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grunt-spawn-pipe",
"version": "0.1.0",
"version": "0.1.1",
"description": "Grunt plugin for running and piping commands using spawn()",
"main": "./index.js",
"scripts": {
Expand All @@ -24,6 +24,6 @@
"devDependencies": {
},
"peerDependencies": {
"grunt": "~0.4.0"
"grunt": "~1.0.1"
}
}

0 comments on commit 76837e8

Please sign in to comment.