aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
authorGravatar lancebord 2026-03-02 14:42:04 -0500
committerGravatar lancebord 2026-03-02 14:42:04 -0500
commit430db070313f430e35c2fa63ea62d26c680ae79a (patch)
treef75425a5e4f5762cab8c4d9dfb2083ae1a7c1066 /src/config.rs
parentuse lockfile for update tracking instead of trusting repo head (diff)
remove dependencies field
Diffstat (limited to '')
-rw-r--r--src/config.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/config.rs b/src/config.rs
index c895a0c..0339739 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -17,7 +17,6 @@ pub enum ConfigCommand {
#[derive(Deserialize)]
pub struct Config {
pub update: Option<String>,
- pub dependencies: Option<Vec<String>>,
pub hooks: Option<Hooks>,
}
@@ -49,10 +48,6 @@ impl Config {
println!("update: {}", update);
}
- if let Some(deps) = &self.dependencies {
- println!("dependencies: {:?}", deps);
- }
-
if let Some(hooks) = &self.hooks {
println!("hooks:");
@@ -85,8 +80,7 @@ pub fn create_config(package: &str) -> Result<(), String> {
let template = format!(
r#"# {package} configuration
-update = "tagged" # no | live | tagged
-dependencies = []
+update = "live" # no | live | tagged
[hooks]
build = "make"