With multiple node-like runtimes (sass/node-sass#655), there is are use-cases which demand awareness of current runtime (io.js, node.js, atom-shell).
On TravisCI, we can call Linux which node command to get the full path of the executable the current matrix is using (they switch the version with nvm and hence which returns the absolute path to active version's executable). Is there a way to get that information from AppVeyor?
Note that this is different that identifying the runtime within JS script. We need it to instantiate the npm jobs defined in package.json (such as npm test) with corresponding runtime (as opposed to generic node node_modules/blah).
With multiple node-like runtimes (sass/node-sass#655), there is are use-cases which demand awareness of current runtime (io.js, node.js, atom-shell).
On TravisCI, we can call Linux
which nodecommand to get the full path of the executable the current matrix is using (they switch the version withnvmand hencewhichreturns the absolute path to active version's executable). Is there a way to get that information from AppVeyor?Note that this is different that identifying the runtime within JS script. We need it to instantiate the npm jobs defined in package.json (such as
npm test) with corresponding runtime (as opposed to genericnode node_modules/blah).