diff --git a/blueprints/jdl-importer/index.js b/blueprints/jdl-importer/index.js index 3521bc86ea334744965bc9aec582cdd17b4f8d26..1b2e824bdb56cd3ae481a7431fe53947c18f7cf0 100644 --- a/blueprints/jdl-importer/index.js +++ b/blueprints/jdl-importer/index.js @@ -97,7 +97,12 @@ module.exports = { break; } }); - console.log('ember g entity-factory ' + entity.name.toLowerCase() + ' ' + entity.options.join(" ")); + let cmd = 'ember g entity-factory ' + entity.name.toLowerCase() + ' ' + entity.options.join(" "); + if (options.dummy) { + cmd += ' --dummy'; + } + //console.log(cmd); + shelljs.exec(cmd); } }, diff --git a/package.json b/package.json index f77ac334cd00ae50f6645600d25a429531c97ab0..f85ad270b2081a76ff16ca359871193f69659f2a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ember-aws-ehipster", - "version": "0.2.0", + "version": "0.2.1", "description": "The default blueprint for ember-cli addons.", "keywords": [ "ember-addon"