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:
Pascal Hartig
2022-04-26 03:29:40 -07:00
committed by Facebook GitHub Bot
parent 0e7de40263
commit 3c6a5c58f9
3 changed files with 21 additions and 35 deletions

View File

@@ -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,