pub enum HmiBuildCommand {
VpBuild,
NpmRunBuild,
Resolved {
program: String,
args: Vec<String>,
},
Custom(Vec<String>),
}Expand description
How the HMI frontend is built.
Resolved by resolve_hmi_build_command
from the CONSORTIUM_HMI_BUILD_CMD override, else an available vp or npm
on PATH.
Variants§
VpBuild
Vite+ unified toolchain: vp build.
NpmRunBuild
Node package manager: npm run build.
Resolved
A known tool resolved to an absolute path before any later PATH changes.
Custom(Vec<String>)
An explicit command from CONSORTIUM_HMI_BUILD_CMD, split on whitespace;
the first element is the program, the rest its arguments.
Trait Implementations§
Source§impl Clone for HmiBuildCommand
impl Clone for HmiBuildCommand
Source§impl Debug for HmiBuildCommand
impl Debug for HmiBuildCommand
impl Eq for HmiBuildCommand
Source§impl PartialEq for HmiBuildCommand
impl PartialEq for HmiBuildCommand
impl StructuralPartialEq for HmiBuildCommand
Auto Trait Implementations§
impl Freeze for HmiBuildCommand
impl RefUnwindSafe for HmiBuildCommand
impl Send for HmiBuildCommand
impl Sync for HmiBuildCommand
impl Unpin for HmiBuildCommand
impl UnsafeUnpin for HmiBuildCommand
impl UnwindSafe for HmiBuildCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.