-
Notifications
You must be signed in to change notification settings - Fork 20
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
Go into setup mode if running outside a Bazel workspace #85
Comments
It's sometimes useful to just run an executable to ensure it's been installed and is working properly, but as of v0.5.0, there's no command that simply runs and succeeds without being inside of a Bazel workspace. It would be nice if |
@stabai I can see that those commands should not depend on being inside a valid Bazel workspace. On the other hand, if you want to check if an executable is installed correctly, the canonical way is to verify its checksum hash. You can additionally call |
True, but those sorts of checks can't answer a few things:
The reason I'm thinking about it this way is that I need to automate this check. Currently, the best way seems to be the following:
This is in some ways the most realistic way to verify the application is working, since it tests it against a valid environment. However, I'm not in love with creating and deleting files to do it. |
note for later (maybe a TODO?) we should offer to help if the user actually meant the cwd to be a workspace - go interactive and into a setup mode
Originally posted by @alexeagle in #83 (comment)
The text was updated successfully, but these errors were encountered: