go-task / task

A task runner / simpler Make alternative written in Go
https://taskfile.dev
MIT License
11.56k stars 616 forks source link

fix(json-schema): add missing `platforms` property to cmds `for` #1915

Closed dkarter closed 1 week ago

dkarter commented 2 weeks ago

Motivation

I've been getting errors from my editor that using platforms as a sibling of for under cmds is not supported, when it is in fact supported and respected by task

I believe this was missed on #980

Changes

Screenshots / Testing Instructions

🖼️ Before CleanShot 2024-11-10 at 19 35 59@2x

🖼️ After CleanShot 2024-11-10 at 19 35 34@2x

dkarter commented 2 weeks ago

@vmaerten great suggestion! Fixed in 4065c3e

vmaerten commented 1 week ago

Thanks