samedi 21 mars 2015

want to go into a folder once my yeoman script is finished



  • does anyone know how to cd into a direcory after a buidl?

  • so I want to at the end of my build cd into the folder generated

  • before the end function

  • my folder will be applicationName

  • I want to go into a folder once my yeoman script is finished

  • so a function that will go into the folder

  • i want to automate that... because the directory has been created and now I want to go into that directory automatically


  • i want to do the below function... but I need to change my directory first


    this.spawnCommand(installer, args, cb) .on('error', cb) .on('exit', this.emit.bind(this, installer + 'Install:end', paths)) .on('exit', function (err) { if (err === 127) { this.log.error('Could not find ' + installer + '. Please install with ' + 'npm install -g ' + installer + '.'); } cb(err); }.bind(this));







Aucun commentaire:

Enregistrer un commentaire