# `mix compile.barnacle`
[🔗](https://github.com/physarella/barnacle/blob/v0.1.0/lib/mix/tasks/compile/barnacle.ex#L1)

Mix compiler that invokes `zig build` for each NIF configured under `:barnacle`
in `mix.exs`.

## Example `mix.exs`

    def project do
      [
        app: :my_app,
        compilers: [:barnacle | Mix.compilers()],
        barnacle: [
          hasher: [
            path: "native/hasher",
            optimize: :auto,
            otp: 28,
            flags: []
          ]
        ]
      ]
    end

---

*Consult [api-reference.md](api-reference.md) for complete listing*
