Smart build system detection #1116
Replies: 3 comments
-
|
This might cause issues when a project contains both a Using a wrapper also lets you add more advanced functionality. For example, instead of |
Beta Was this translation helpful? Give feedback.
-
Give up with a text message "No Taskfile found and ambigous project type, we are unable to find reasonable command"
True. However the usecase I had in mind would be
All of this could also be included in the default built-in wrapper functionality. But that would require expert knowledge in all those other build systems which might be overkill and too much work |
Beta Was this translation helpful? Give feedback.
-
|
Hi @richard-hajek, I think your idea is valid but it does not fit this project IMO. Task should be focused on running Taskfiles. I think your idea could implemented on a brand new project, dedicated to this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
A fun quality of life addition would be for
taskto function as an alias to existing build systems. For example, when encounteringpackage.jsontaskwould delegate all calls tonpm, unless an existing Taskfile would be present.Possible use cases:
tasktonpmtasktocargotasktogo....
This would be by no means a full replacement of the original tool. The
task buildwould do little more than an alias togo build/cargo build/npm build. Implementation wise it could be basically a list of known build systems and a Taskfile for each of them.Beta Was this translation helpful? Give feedback.
All reactions