Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
14ab05eb9b
commit
a2250edadb
@ -45,6 +45,10 @@ pub trait AptExt {
|
||||
fn with_apt(&mut self, deps: &[&str]) -> &mut Self {
|
||||
self
|
||||
}
|
||||
|
||||
fn with_apt_release(&mut self, deps: &[&str]) -> &mut Self {
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
impl AptExt for RustService {
|
||||
@ -53,6 +57,12 @@ impl AptExt for RustService {
|
||||
Apt::new().extend(deps),
|
||||
)))
|
||||
}
|
||||
|
||||
fn with_apt_release(&mut self, deps: &[&str]) -> &mut Self {
|
||||
self.with_stage(super::RustServiceStage::BeforePackage(Arc::new(
|
||||
Apt::new().extend(deps),
|
||||
)))
|
||||
}
|
||||
}
|
||||
|
||||
impl AptExt for LeptosService {
|
||||
|
Loading…
Reference in New Issue
Block a user