pub enum LifecycleHook {
PreInstall,
Install,
PostInstall,
Prepare,
}Expand description
Lifecycle hooks that aube install runs against the root package’s
scripts field, in this order: preinstall → (dependencies link) →
install → postinstall → prepare. Matches pnpm / npm.
Variants§
Implementations§
Source§impl LifecycleHook
impl LifecycleHook
pub fn script_name(self) -> &'static str
Trait Implementations§
Source§impl Clone for LifecycleHook
impl Clone for LifecycleHook
Source§fn clone(&self) -> LifecycleHook
fn clone(&self) -> LifecycleHook
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LifecycleHook
impl Debug for LifecycleHook
Source§impl PartialEq for LifecycleHook
impl PartialEq for LifecycleHook
impl Copy for LifecycleHook
impl Eq for LifecycleHook
impl StructuralPartialEq for LifecycleHook
Auto Trait Implementations§
impl Freeze for LifecycleHook
impl RefUnwindSafe for LifecycleHook
impl Send for LifecycleHook
impl Sync for LifecycleHook
impl Unpin for LifecycleHook
impl UnsafeUnpin for LifecycleHook
impl UnwindSafe for LifecycleHook
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.