pub struct Bash {
pub command: String,
}Expand description
The bash driver: the VERSION file, and the project’s own build
command, whose output contract is dist/<name>.tar.gz and its
.sha256.
Fields§
§command: StringThe [profile.release.build].command the target records.
Trait Implementations§
Source§impl DriverAdapter for Bash
impl DriverAdapter for Bash
Source§fn read_version(&self, root: &Utf8Path) -> Result<Version, RkError>
fn read_version(&self, root: &Utf8Path) -> Result<Version, RkError>
The version the target carries now. Read more
Source§fn write_version(
&self,
root: &Utf8Path,
version: Version,
) -> Result<Vec<Utf8PathBuf>, RkError>
fn write_version( &self, root: &Utf8Path, version: Version, ) -> Result<Vec<Utf8PathBuf>, RkError>
Auto Trait Implementations§
impl Forget for Bash
impl Freeze for Bash
impl Move for Bash
impl RefUnwindSafe for Bash
impl Send for Bash
impl Sync for Bash
impl Unpin for Bash
impl UnsafeUnpin for Bash
impl UnwindSafe for Bash
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