ejs
ejs copied to clipboard
Windows Jakefile exec paths (still) not working
https://github.com/mde/ejs/blob/ca2c30f4d983cf964307148bc4f7fd65b9678034/Jakefile#L39
Changing it to
exec('.\\node_modules\\.bin\\jsdoc ' + p + ' -c jsdoc.json "lib" "docs\\jsdoc"')
Worked for me.
Knowing nearly nothing about Jake and (Node) exec before, little search led me to jakejs/jake#229 so apparently this will by just a little headsup for you :] Submitting for documentary purposes.
This also works
exec(process.cwd() + '\\node_modules\\.bin\\jsdoc ' + p + ' -c jsdoc.json lib doc\\jsdoc');
maybe
exec(`${process.cwd()}\\node_modules\\.bin\\jsdoc ${p} -c jsdoc.json lib docs\\jsdoc`);