task icon indicating copy to clipboard operation
task copied to clipboard

multilevel schema validation

Open mkyc opened this issue 3 years ago • 1 comments
trafficstars

  • Task version: 3.12.1
  • Operating System: Mac OS ARM

Example Taskfile

version: '3'

includes:
  lalala:
    taskfile: ./lalala/Taskfile.yml
    dir: ./lalala

Current schema is saying that "required": ["version", "tasks"] and that is not entirely true. tasks is not required (presented example works) and in multilevel include scenario this is going to be quite normal to have Taskfile.yaml just organising parts of directories tree.

mkyc avatar Jun 06 '22 15:06 mkyc

Agreed. Either includes and/or tasks should be present (not neither).

ghostsquad avatar Jun 06 '22 15:06 ghostsquad

I think the issue can be closed now as PR that fixes the bug is merged

maxpushka avatar Aug 23 '22 16:08 maxpushka

Thanks @maxpushka!

andreynering avatar Aug 23 '22 21:08 andreynering