Share tasks between normal and meta-build #4475
Unanswered
denisrosca
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a task that reads a value from env variables looks something like this:
and I need to be able to access it in both the normal and the meta build.
Previously (with version
0.11.13
) I could just define the task in a./mill-build/utils.sc
file and import it in both./build.sc
and./mill-build/build.sc
.After moving to
0.12.7
and having to "encapsulate" the task into a module trait, that no longer works:I can import it into my meta-build just fine:
but I can't for the life of me figure out how to import it into my normal
build.mill
.Beta Was this translation helpful? Give feedback.
All reactions