#!/usr/bin/env escript

%% Compiles a parser module for the API blueprint format from the Neotoma
%% grammar file.

main(_) ->
    DepsDir = os:getenv("REBAR_DEPS_DIR"),
    Neotoma =  DepsDir ++ "/neotoma/ebin",
    code:add_pathz(filename:absname(Neotoma)),
    neotoma:file("priv/katt_blueprint.peg", [{output, "src/"}]).
