guybedford / chomp

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

Externalize extensions, polishing #54

Closed guybedford closed 2 years ago

guybedford commented 2 years ago

This externalizes the Chomp template extensions into a separate repo - https://github.com/guybedford/chomp-extensions.

The template extensions are now loaded from JSPM via https://ga.jspm.io/npm:@chompbuild/templates@0.1.3/npm.js etc.

Remote extensions are then cached locally for fast task runs.

This PR also includes a number of other improvements:

Args support in commands

chomp echo -- "hello world"
> hello world

defined by:

version = 0.1

[[task]]
name = 'echo'
args = ['MESSAGE']
run = 'echo $MESSAGE'