Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Jakefile exec paths (still) not working #360

Open
myfonj opened this issue Apr 5, 2018 · 1 comment
Open

Windows Jakefile exec paths (still) not working #360

myfonj opened this issue Apr 5, 2018 · 1 comment

Comments

@myfonj
Copy link

myfonj commented Apr 5, 2018

ejs/Jakefile

Line 39 in ca2c30f

exec('./node_modules/.bin/jsdoc ' + p + ' -c jsdoc.json lib/* docs/jsdoc/*');

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.

@gregbown
Copy link

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`);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants