summaryrefslogtreecommitdiffstats
path: root/src/task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/task.rs')
-rw-r--r--src/task.rs10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/task.rs b/src/task.rs
index 85ff620..6428985 100644
--- a/src/task.rs
+++ b/src/task.rs
@@ -1,7 +1,11 @@
-use serde::Deserialize;
use std::collections::{HashMap, HashSet};
-use crate::types::{StringHash, TaskID};
+use serde::Deserialize;
+
+use crate::{
+ args::ArgType,
+ types::{StringHash, TaskID},
+};
#[derive(Clone, Debug, Deserialize, PartialEq, Eq, Hash)]
pub struct Fetch {
@@ -40,7 +44,7 @@ pub struct Action {
#[derive(Clone, Debug, Deserialize)]
pub struct TaskDef {
#[serde(default)]
- pub args: HashMap<String, String>,
+ pub args: HashMap<String, ArgType>,
#[serde(default)]
pub inherit: Option<InheritDep>,
#[serde(default)]