8000 Redirects stderr in the shell task · thedersen/backbone.validation@5be3ad5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5be3ad5

Browse files
committed
Redirects stderr in the shell task
1 parent f490787 commit 5be3ad5

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

grunt.js

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,34 +89,41 @@ module.exports = function(grunt) {
8989
shell: {
9090
npm: {
9191
command: 'npm publish',
92-
stdout: true
92+
stdout: true,
93+
stderr: true
9394
},
9495
clone: {
9596
command: 'git clone git@github.com:thedersen/thedersen.github.com.git',
96-
stdout: true
97+
stdout: true,
98+
stderr: true
9799
},
98100
copyDocco: {
99101
command: 'cp docs/backbone-validation.html thedersen.github.com/projects/backbone-validation/docs/index.html',
100-
stdout: true
102+
stdout: true,
103+
stderr: true
101104
},
102105
copyCss: {
103106
command: 'cp docs/docco.css thedersen.github.com/projects/backbone-validation/docs/docco.css',
104-
stdout: true
107+
stdout: true,
108+
stderr: true
105109
},
106110
copyExamples: {
107111
command: 'cp -rf examples/ thedersen.github.com/projects/backbone-validation/examples/',
108-
stdout: true
112+
stdout: true,
113+
stderr: true
109114
},
110115
push: {
111116
command: 'git commit -am "Updated docs for Backbone.Validation" && git push origin master',
112117
stdout: true,
118+
stderr: true
113119
execOptions: {
114120
cwd: 'thedersen.github.com'
115121
}
116122
},
117123
cleanup: {
118124
command: 'rm -rf thedersen.github.com',
119-
stdout: true
125+
stdout: true,
126+
stderr: true
120127
}
121128
}
122129
});

0 commit comments

Comments
 (0)
0