aboutsummaryrefslogtreecommitdiff
path: root/mling
diff options
context:
space:
mode:
Diffstat (limited to 'mling')
-rw-r--r--mling/Cargo.lock1
-rw-r--r--mling/Cargo.toml1
-rw-r--r--mling/src/project_installer.rs8
3 files changed, 4 insertions, 6 deletions
diff --git a/mling/Cargo.lock b/mling/Cargo.lock
index fbcd4a7..073b69b 100644
--- a/mling/Cargo.lock
+++ b/mling/Cargo.lock
@@ -149,6 +149,7 @@ dependencies = [
name = "mingling_core"
version = "0.1.8"
dependencies = [
+ "dirs",
"just_fmt",
"just_template",
"once_cell",
diff --git a/mling/Cargo.toml b/mling/Cargo.toml
index bbee212..c2985f7 100644
--- a/mling/Cargo.toml
+++ b/mling/Cargo.toml
@@ -24,6 +24,7 @@ strip = true
[dependencies]
mingling = { path = "../mingling", features = [
+ "builds",
"parser",
"comp",
"general_renderer",
diff --git a/mling/src/project_installer.rs b/mling/src/project_installer.rs
index 5c21462..2e9ca8d 100644
--- a/mling/src/project_installer.rs
+++ b/mling/src/project_installer.rs
@@ -44,9 +44,7 @@ pub fn install_this_project(
.current_dir(workspace_root)
.status()?;
if !status.success() {
- return Err(std::io::Error::other(
- "exec `cargo clean` failed",
- ));
+ return Err(std::io::Error::other("exec `cargo clean` failed"));
}
}
@@ -56,9 +54,7 @@ pub fn install_this_project(
.current_dir(workspace_root)
.status()?;
if !status.success() {
- return Err(std::io::Error::other(
- "cargo build --release failed",
- ));
+ return Err(std::io::Error::other("cargo build --release failed"));
}
// Parse package.name from workspace_root's Cargo.toml as namespace