Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Pbuf.MixProject do
use Mix.Project
@version "0.0.6"
def project do
[
app: :pbuf,
deps: deps(),
elixir: "~> 1.8",
version: @version,
escript: escript(),
elixirc_paths: paths(Mix.env),
description: "A fast protocol buffer library",
package: [
licenses: ["MIT"],
links: %{
"git" => "https://src.openmymind.net/karl/pbuf"
},
maintainers: ["Karl Seguin"],
],
]
end
defp paths(:test), do: paths(:prod) ++ ["test/support", "test/schemas/generated"]
defp paths(_), do: ["lib"]
defp escript do
[main_module: Pbuf.Protoc, name: "protoc-gen-fast-elixir", app: nil]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:jason, "~> 1.1.2"},
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
{:benchee, "~> 0.13.2", only: :test},
{:protobuf, "~> 0.5.4", only: [:test]},
]
end
end