Explorar o código

Run grunt install inside service directory

James Allen %!s(int64=12) %!d(string=hai) anos
pai
achega
01ca16fd59
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Gruntfile.coffee

+ 2 - 1
Gruntfile.coffee

@@ -241,7 +241,8 @@ module.exports = (grunt) ->
 				grunt.log.writeln "Config file already exists. Skipping."
 				callback()
 
-		runGruntInstall: (dir, callback = (error) ->) ->
+		runGruntInstall: (service, callback = (error) ->) ->
+			dir = service.name
 			proc = spawn "grunt", ["install"], stdio: "inherit", cwd: dir
 			proc.on "close", () ->
 				callback()