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

CakeExecuteScript tool resolution fails if script in parent path #1119

Closed
devlead opened this issue Jul 25, 2016 · 0 comments
Closed

CakeExecuteScript tool resolution fails if script in parent path #1119

devlead opened this issue Jul 25, 2016 · 0 comments
Assignees
Milestone

Comments

@devlead
Copy link
Member

devlead commented Jul 25, 2016

If i run .\src\Cake\bin\Release\Cake.exe \temp\test\pipelinesenv.cake tool resolution will fail not finding cake.exe
Error: Cake.Core.CakeException: Cake: Could not locate executable.

I propose we fallback to the cake.exe path of the process running the parent script, seems reasonable to want to use same version of Cake unless ToolPath explicitly specified, to not break anything I'll keep hombrew unix logic and fallback to entry assembly.

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

No branches or pull requests

1 participant