diff options
| author | Jorge Aparicio <jorge@japaric.io> | 2017-07-24 22:46:29 -0500 |
|---|---|---|
| committer | Jorge Aparicio <jorge@japaric.io> | 2017-07-24 22:46:29 -0500 |
| commit | fb4542818becf613f86dc362bbeb2d3da2bb2975 (patch) | |
| tree | d683b7e44bf7143f271fe462914a3b8c33956a8b /macros/src/check.rs | |
| parent | 74daa77fe07499df86bca1c0918718b416b35dfc (diff) | |
task! is not needed if tasks.$T.path is specified
Diffstat (limited to 'macros/src/check.rs')
| -rw-r--r-- | macros/src/check.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/macros/src/check.rs b/macros/src/check.rs index 1dac363..cedf933 100644 --- a/macros/src/check.rs +++ b/macros/src/check.rs @@ -18,6 +18,7 @@ pub type Tasks = HashMap<Ident, Task>; pub struct Task { pub enabled: Option<bool>, + pub path: Option<Path>, pub priority: u8, pub resources: Idents, } @@ -71,6 +72,7 @@ fn task(task: syntax::check::Task) -> Result<Task> { if let Some(priority) = task.priority { Ok(Task { enabled: task.enabled, + path: task.path, priority, resources: task.resources, }) |
