Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
grunt-monty-python
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
a45fd1ba
authored
2016-07-19 11:51:48 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Remove some extraneous logging when running external programs(including
bower).
1 parent
41c759d9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
grunt-monty-python.js
grunt-monty-python.js
View file @
a45fd1b
...
...
@@ -213,15 +213,12 @@ module.exports = function (grunt) {
function
externalMultiTask
(
name
,
desc
,
command
,
updateOptions
)
{
grunt
.
log
.
writeln
(
'registering multiTask'
,
name
);
grunt
.
registerMultiTask
(
name
,
desc
,
function
()
{
grunt
.
log
.
writeln
(
'foobar'
,
name
);
grunt
.
log
.
writeln
(
'foobar'
,
name
);
var
done
=
this
.
async
();
var
options
=
this
.
options
();
var
target
=
this
.
target
;
var
configFile
=
holyGrailTmp
+
'/configs/'
+
name
+
'-'
+
target
+
'.json'
;
var
commandArgs
=
updateOptions
.
apply
(
this
,
[
target
,
options
,
configFile
]);
grunt
.
file
.
write
(
configFile
,
JSON
.
stringify
(
options
)
+
'\n'
);
grunt
.
log
.
writeln
(
JSON
.
stringify
(
commandArgs
)
+
'\n'
);
require
(
'child_process'
).
execFile
(
command
,
commandArgs
,
function
(
error
,
stdout
,
stderr
)
{
stdout
=
stdout
.
split
(
'\n'
).
map
(
function
(
v
)
{
return
name
+
':'
+
target
+
': '
+
v
;
...
...
Please
register
or
sign in
to post a comment