Build all artifacts from packlist
Summary: Instead of hardcoding the targets, it will now build all specified types in the "packlist". Reviewed By: jknoxville Differential Revision: D21349762 fbshipit-source-id: 58f4a3bbf0b6ff4dd87eb44bbd7b200127da8017
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2c20f016d4
commit
8818fbe375
@@ -12,7 +12,7 @@ use std::path::PathBuf;
|
||||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
MissingPackFile(Platform, PackType, PathBuf),
|
||||
MissingPackDefinition(Platform, PackType),
|
||||
MissingPlatformDefinition(Platform),
|
||||
}
|
||||
|
||||
impl std::error::Error for Error {}
|
||||
@@ -27,10 +27,10 @@ impl fmt::Display for Error {
|
||||
pack_type,
|
||||
path.to_string_lossy()
|
||||
),
|
||||
Error::MissingPackDefinition(platform, pack_type) => write!(
|
||||
Error::MissingPlatformDefinition(platform) => write!(
|
||||
f,
|
||||
"Missing packlist definition for platform {:?} and pack type {:?}.",
|
||||
platform, pack_type,
|
||||
"Platform {} is not defined in the given packlist.",
|
||||
platform
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user