Current section

Files

Jump to
Raw

mix.exs

defmodule Modbus.Mixfile do
use Mix.Project
def project do
[
app: :modbus_tcp_server,
version: "1.0.2",
elixir: "~> 1.3",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: "A Modbus TCP Server Implementation",
source_url: "https://bitbucket.org/idahogray/modbus-elixir",
deps: deps(),
docs: docs(),
package: package()
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[
applications: [:logger],
mod: {ModbusTCPServer, []}
]
end
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[
{:earmark, "~>1.0", only: :dev},
{:ex_doc, "~>0.14.5", only: :dev}
]
end
defp docs do
[
extras: ["README.md"],
main: "readme",
source_ref: "tip"
]
end
defp package() do
[
maintainers: ["Keith Gray"],
licenses: ["MIT"],
links: %{"Bitbucket" => "https://bitbucket.org/idahogray/modbus-elixir"}
]
end
end