-
Notifications
You must be signed in to change notification settings - Fork 37
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
hil: initial commit #97
Conversation
.wrap_err("failed to create temporary extract dir")?; | ||
let extract_dir = temp_dir.path(); | ||
let result = run_cmd! { | ||
cd $extract_dir; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these bash snippets scare me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its not actually bash. This is just a macro that calls std::process:Command. You can read more here: https://docs.rs/cmd_lib/latest/cmd_lib/#why-you-need-this.
I chose to use cli tools to keep it simpler, but nothing prevents us from replacing those runtime dependencies later.
Note that all dependencies are frozen anyway due to the nix config on the HIL.
4aca5d7
to
3e17088
Compare
Adds an orb-hil binary, to make flashing easy and automated. Its little more than a glorified bash script right now.
Currently it:
It does not yet support: