Using Matcha View Source
Getting started
The latest version of Matcha
can be installed in scripts or iex
via:
Mix.install([{:matcha, github: "christhekeele/matcha", tag: "stable"}])
IO.puts("Installed matcha version: #{Application.spec(:matcha, :vsn)}")
The primary way to build Matcha constructs are through the macros in the Matcha
module,
so we require it to make sure we can use them:
require Matcha
spec =
Matcha.spec do
{x, y, z} -> {x, y, z}
end