Move basedir to config file
Summary: This allows us to extend this more easily to server builds, too. Reviewed By: lblasa Differential Revision: D35901750 fbshipit-source-id: 7030846ad485d709cf4c2e95f0cad287f98b051b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0e7de40263
commit
3c6a5c58f9
@@ -6,24 +6,10 @@
|
||||
*/
|
||||
|
||||
use std::fmt::{self, Display};
|
||||
use std::str;
|
||||
|
||||
#[derive(
|
||||
Debug,
|
||||
Copy,
|
||||
Clone,
|
||||
PartialEq,
|
||||
Eq,
|
||||
PartialOrd,
|
||||
Ord,
|
||||
serde::Deserialize,
|
||||
clap::ArgEnum
|
||||
)]
|
||||
#[serde(rename_all = "lowercase")]
|
||||
pub enum Platform {
|
||||
Mac,
|
||||
Linux,
|
||||
Windows,
|
||||
}
|
||||
// TODO: Make this a newtype.
|
||||
pub type Platform = String;
|
||||
|
||||
#[derive(
|
||||
Debug,
|
||||
|
||||
Reference in New Issue
Block a user