A multi-core streaming build tool using Elixir's GenStage.
Inspired by Gulp.
# In Guzzlefile.exs
import Guzzle.Jade
import Guzzle.Minify
task :jade do
src("ux/**/*.jade")
|> jade
|> minify
|> dest("www/templates")
end
task :watch do
watch("ux/**/*.jade", :jade)
end
Then run:
guzzle watch
or
guzzle jade
If available in Hex, the package can be installed as:
Add guzzle
to your list of dependencies in mix.exs
:
def deps do
[{:guzzle, "~> 0.1.0"}]
end
MIT