Skip to content

Is there an automated tool to convert Makefile to Taskfile for migration purposes? #2074

Answered by pd93
QinZhanlong asked this question in Q&A
Discussion options

You must be logged in to vote

I've been asked this a few times now. Maybe this is something we could add to our FAQ. Unfortunately, the answer is no - At least not that I'm aware of.

While there is a lot of overlap between the two, make was written primarily as a build system whereas task was built as a task runner. This means that outside of basic usage, their features can actually be quite different and I don't think a direct translation would always be possible.

Even if it is possible, it would be a significant task to maintain something that could map between Makefile's complex syntax and YAML and support multiple versions of both tools without breaking whenever one tool updates. Happy to be proven wrong by anyone…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by andreynering
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants