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

puku doesn't work with ./pleasew #133

Open
manfredlift opened this issue Oct 29, 2024 · 1 comment
Open

puku doesn't work with ./pleasew #133

manfredlift opened this issue Oct 29, 2024 · 1 comment

Comments

@manfredlift
Copy link

manfredlift commented Oct 29, 2024

I am installing puku as a please tool as per the readme:

[Alias "puku"]
Cmd = run //third_party/binary:puku --
PositionalLabels = true
Desc = A tool to update BUILD files in Go packages 

When trying to puku sync it complains about not finding plz.

$ ./pleasew puku sync -w
15:21:58 CRITICAL failed to query config: %!w(*errors.errorString=&{exec: "plz": executable file not found in $PATH
})

I believe ./pleasew installs please in ~/.please with the name please so there's no chance for puku to ever find it as plz even if the $PATH gets set correctly?

@manfredlift
Copy link
Author

It kinda works with puku.json, but not in a general way:

{
  "pleasePath": "/User/<my-user>/please",
}

It appears that pleasePath doesn't allow for env var substitution so $HOME/.please/please or ~/.please/please doesn't seem to work.

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

1 participant