Open othelarian opened 4 months ago
Can we use this in place of Gulp?
Can we use this in place of Gulp?
Completely, it is what I do for all my project, but in CoffeeScript. I also use bach
, which is a lib gulp
uses to create the pipeline under the hood. If you want the gulp
pipelines you just have to add bach
and vinyl
.
Origin of the PR
This PR is more like a fun addition to LiveScript. I always wonder why an equivalent to the CoffeeScript
cake
command doesn't exist un LiveScript, with aLivefile
file at the package's root. So I did it.What it does
I added
scripts/build-live
to compile thebin-src/live.ls
script intobin/live
, and also aLivefile
as an example of what is possible.It works like this:
option [name], [alias], [type], [description]
=> like in aCakefile
but with type, to make it work withoptionator
task [name], [description], [callback]
=> also like in aCakefile
, the exact same syntaxAlso, I added a new target in the
makefile
,live: bin/live
, to run the script that compilebin-src/live.ls
intobin/live
.