From d7b6626f70b2163e82cf95273fe39813aa817e4d Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Sat, 2 May 2020 12:36:27 -0500 Subject: [PATCH] maint/build ~ polish and add commentary for initialization workaround --- Makefile.toml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index 9ab3961d1..2088989d2 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -5,18 +5,22 @@ [config] min_version = "0.26.2" default_to_workspace = false -init_task = "_init" +init_task = "_init_task" [config.modify_core_tasks] namespace = "core" ### initialization -[tasks._init] -private = true -run_task = "_init_" +### * note: the task executed from 'init_task' ignores dependencies; workaround is to run a secondary task via 'run_task' -[tasks._init_] +[tasks._init_task] +# dependencies are unavailable +# * delegate (via 'run_task') to "real" initialization task ('_init') with full capabilities +private = true +run_task = "_init" + +[tasks._init] private = true dependencies = [ "_init-vars",