Skip to content

v0.4.0

Compare
Choose a tag to compare
@stylemistake stylemistake released this 24 Jun 00:32
· 37 commits to master since this release

Added

  • dependsOn, inputs, outputs, and onlyWhen fields now all accept a function with an execution context (a function of format ({ get }) => ...), and all of them can be async. This means that you can easily parametrize every part of the build via CLI parameters.
  • Async dependsOn will block initialization of the task runner due to the way dependency resolution is currently implemented. Prefer sync functions over async, otherwise use carefully.

Removed

  • Removed the ability to pass arrays of functions to executes and onlyWhen, because nobody will realistically use it, and it increases Juke's code complexity.