Skip to content
Snippets Groups Projects
Commit 63695403 authored by pln's avatar pln
Browse files

cro only

parent a76f6d17
No related branches found
No related tags found
No related merge requests found
......@@ -175,7 +175,10 @@ fn tasks(tasks: Option<::Tasks>) -> Result<Tasks> {
enabled: task.enabled,
path: task.path,
priority: task.priority,
resources: ::check::resources("resources", task.resources)?,
resources: ::check::resources(
"resources",
task.resources,
)?,
},
))
})().chain_err(|| format!("checking task `{}`", name_))
......@@ -196,7 +199,7 @@ pub struct Cro {
}
/// Checks the syntax of the parsed `app!` macro
pub fn crc(cro: ::Cro) -> Result<Cro> {
pub fn cro(cro: ::Cro) -> Result<Cro> {
Ok(Cro {
ips: ::check::ips(cro.ips).chain_err(|| "checking `ips`")?,
ops: ::check::ops(cro.ops).chain_err(|| "checking `ops`")?,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment