grunt-particles
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -25,4 +25,6 @@ /* | ||
runServices: ['svc|pipeline!testService'], | ||
appRoot: __dirname, | ||
configDir: __dirname + "/test/config" | ||
config: { | ||
appRoot: __dirname, | ||
configDir: __dirname + "/test/config" | ||
} | ||
} | ||
@@ -29,0 +31,0 @@ } |
{ | ||
"name": "grunt-particles", | ||
"description": "Invoke Scatter services from Grunt (and dynamically control its configuration)", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"homepage": "https://github.com/particles/grunt-particles", | ||
@@ -30,3 +30,3 @@ "author": { | ||
"dependencies": { | ||
"particles": "~0.1.0" | ||
"particles": "~0.1.3" | ||
}, | ||
@@ -33,0 +33,0 @@ "devDependencies": { |
@@ -19,4 +19,3 @@ | ||
scatterOptions: {}, | ||
appRoot: "", | ||
configDir: null, | ||
config: {}, | ||
runServices: null, | ||
@@ -26,14 +25,10 @@ configNamespace: null | ||
if(!options.appRoot) { | ||
grunt.fail.fatal("Must set appRoot option"); | ||
} | ||
var particlesOptions = { | ||
runServices: options.runServices, | ||
configNamespace: options.configNamespace, | ||
configDir: options.configDir, | ||
config: options.config, | ||
serviceArgs: [{grunt: grunt}] | ||
}; | ||
particles.run(options.appRoot, particlesOptions).then(function() { | ||
particles.run(particlesOptions).then(function() { | ||
done(); | ||
@@ -40,0 +35,0 @@ }).otherwise(done); |
8177
123
Updatedparticles@~0.1.3