|
@@ -111,6 +111,7 @@ struct BundleSettings {
|
|
|
bin: Option<HashMap<String, BundleSettings>>,
|
|
|
example: Option<HashMap<String, BundleSettings>>,
|
|
|
external_bin: Option<Vec<String>>,
|
|
|
+ exception_domain: Option<String>,
|
|
|
}
|
|
|
|
|
|
#[derive(Clone, Debug, Deserialize)]
|
|
@@ -433,6 +434,10 @@ impl Settings {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ pub fn exception_domain(&self) -> Option<&String> {
|
|
|
+ return self.bundle_settings.exception_domain.as_ref()
|
|
|
+ }
|
|
|
+
|
|
|
// copy external binaries to a path.
|
|
|
pub fn copy_binaries(&self, path: &Path) -> crate::Result<()> {
|
|
|
for src in self.external_binaries() {
|