guybedford / chomp

'JS Make' - parallel task runner for the frontend ecosystem with a JS extension system.
https://chompbuild.com
Apache License 2.0
143 stars 7 forks source link

feat: validation field #84

Closed guybedford closed 2 years ago

guybedford commented 2 years ago

This adds a new validation field to tasks which defaults to "ok-targets", but can also be ok-only or targets-only to permit task success in the case a task doesn't define all its targets or if a task doesn't complete successfully but execution should still proceed.

The npm extension is updated to use this in the case of no installations in node modules.