Struct buildchain::Config
[−]
[src]
pub struct Config { pub name: String, pub base: String, pub privileged: bool, pub prepare: Vec<Vec<String>>, pub build: Vec<Vec<String>>, pub publish: Vec<Vec<String>>, }
A build configuration
Fields
name: String
The name of this build project
base: String
The LXC base to use
privileged: bool
True if the LXC container for builds should be privileged
prepare: Vec<Vec<String>>
The commands to run to generate a build environment
build: Vec<Vec<String>>
The commands to run that build the artifacts in /root/source
publish: Vec<Vec<String>>
The commands to run that publish the artifacts to /root/artifacts
Trait Implementations
impl Clone for Config
[src]
fn clone(&self) -> Config
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Config
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more