Lines Matching defs:new
36 pub static ref ENV_LIST: RwLock<EnvMap> = RwLock::new(EnvMap::new());
67 pub fn new(
72 let local_envs = EnvMap::new();
73 let build_dir = CacheDir::new(entity.clone(), CacheDirType::Build)?;
74 let task_data_dir = TaskDataDir::new(entity.clone())?;
77 Some(CacheDir::new(entity.clone(), CacheDirType::Source)?)
182 let output = Command::new(pre_build)
225 let output = Command::new(post_build)
454 let mut command = Command::new("bash");
486 .add(EnvVar::new(tv.key().to_string(), tv.value().to_string()));
491 self.local_envs.add(EnvVar::new(
607 pub fn new() -> Self {
609 envs: BTreeMap::new(),
624 self.add(EnvVar::new(key, value));
637 pub fn new(key: String, value: String) -> Self {
675 let mut env_list = EnvMap::new();
685 env_list.add(EnvVar::new(
694 env_list.add(EnvVar::new(
703 env_list.add(EnvVar::new("ARCH".to_string(), (*target_arch).into()));
718 let mut queue = VecDeque::new();