diff --git a/src/common/mod.rs b/src/common/mod.rs index 208b49b..228591f 100644 --- a/src/common/mod.rs +++ b/src/common/mod.rs @@ -2,4 +2,4 @@ pub static TEMP_FOLDER: &str = "temp"; pub static INSTALL_FOLDER: &str = ".autoconfig"; pub mod utils; -pub mod fvm; \ No newline at end of file +pub mod packages; \ No newline at end of file diff --git a/src/common/fvm/git.rs b/src/common/packages/fvm/git.rs similarity index 100% rename from src/common/fvm/git.rs rename to src/common/packages/fvm/git.rs diff --git a/src/common/fvm/mod.rs b/src/common/packages/fvm/mod.rs similarity index 100% rename from src/common/fvm/mod.rs rename to src/common/packages/fvm/mod.rs diff --git a/src/common/packages/mod.rs b/src/common/packages/mod.rs new file mode 100644 index 0000000..4d201eb --- /dev/null +++ b/src/common/packages/mod.rs @@ -0,0 +1 @@ +pub mod fvm; \ No newline at end of file diff --git a/src/linux/mod.rs b/src/linux/mod.rs index 4f23280..a43b983 100644 --- a/src/linux/mod.rs +++ b/src/linux/mod.rs @@ -25,7 +25,7 @@ pub fn start() { let opt = Opt::from_args(); for tool in &opt.tools { let result = match tool { - Tool::Fvm => super::common::fvm::install() + Tool::Fvm => super::common::packages::fvm::install() }; if let Err(err) = result { diff --git a/src/macos/mod.rs b/src/macos/mod.rs index 4f23280..a43b983 100644 --- a/src/macos/mod.rs +++ b/src/macos/mod.rs @@ -25,7 +25,7 @@ pub fn start() { let opt = Opt::from_args(); for tool in &opt.tools { let result = match tool { - Tool::Fvm => super::common::fvm::install() + Tool::Fvm => super::common::packages::fvm::install() }; if let Err(err) = result { diff --git a/src/windows/mod.rs b/src/windows/mod.rs index 4f23280..a43b983 100644 --- a/src/windows/mod.rs +++ b/src/windows/mod.rs @@ -25,7 +25,7 @@ pub fn start() { let opt = Opt::from_args(); for tool in &opt.tools { let result = match tool { - Tool::Fvm => super::common::fvm::install() + Tool::Fvm => super::common::packages::fvm::install() }; if let Err(err) = result {