Packages

KATT (Klarna API Testing Tool) is an HTTP-based API testing tool for Erlang.

Current section

Files

Jump to
katt priv compile-parser
Raw

priv/compile-parser

#!/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/"}]).