Debug output for task processing
This commit is contained in:
parent
d7cded3297
commit
70f476dcc9
|
@ -45,6 +45,12 @@ fn main() -> Result<(), std::io::Error> {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
for t in &tasks {
|
||||||
|
let mut context = context.clone();
|
||||||
|
context.insert("$i18n_task", t.name.as_str());
|
||||||
|
log::debug("found_task", Some(&context));
|
||||||
|
}
|
||||||
|
|
||||||
let (config_folder, ignored_tasks) = task::config(&basedir);
|
let (config_folder, ignored_tasks) = task::config(&basedir);
|
||||||
set_var("GITBUILDCONF", &config_folder);
|
set_var("GITBUILDCONF", &config_folder);
|
||||||
context.insert("$i18n_config", config_folder.to_str().unwrap());
|
context.insert("$i18n_config", config_folder.to_str().unwrap());
|
||||||
|
@ -58,7 +64,7 @@ fn main() -> Result<(), std::io::Error> {
|
||||||
for task in &tasks {
|
for task in &tasks {
|
||||||
let mut context = context.clone();
|
let mut context = context.clone();
|
||||||
context.insert("$i18n_task", task.name.as_str());
|
context.insert("$i18n_task", task.name.as_str());
|
||||||
log::debug("found_task", Some(&context));
|
log::debug("start_proc", Some(&context));
|
||||||
|
|
||||||
if ignored_tasks.contains(&task.name) {
|
if ignored_tasks.contains(&task.name) {
|
||||||
// Skip task which has CONFIG/task.ignore
|
// Skip task which has CONFIG/task.ignore
|
||||||
|
|
Loading…
Reference in New Issue