defmodule Exmqttc.Mixfile do use Mix.Project def project do [app: :exmqttc, version: "0.3.2", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), package: package(), docs: [main: "readme.html#usage", extras: ["README.md"]] ] end # Configuration for the OTP application # # Type "mix help compile.app" for more information def application do # Specify extra applications you'll use from Erlang/Elixir [extra_applications: [:logger]] end def package do %{ name: :exmqttc, files: ["lib", "mix.exs", "README*", "LICENSE*"], maintainers: ["Tim Buchwaldt"], description: "Elixir wrapper for the emqttc library. Some of the features: Reconnection, offline queueing, gen_* like callback APIs, QoS 0-2.", licenses: ["MIT"], links: %{"GitHub" => "https://github.com/timbuchwaldt/exmqttc"}, } end # Dependencies can be Hex packages: # # {:my_dep, "~> 0.3.0"} # # Or git/path repositories: # # {:my_dep, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"} # # Type "mix help deps" for more examples and options defp deps do [ {:emqttc, github: "emqtt/emqttc", only: [:dev, :test]}, {:uuid, "~> 1.1"}, {:ex_doc, ">= 0.0.0", only: :dev}, {:dialyxir, "~> 0.5", only: :dev, runtime: false}, {:credo, "~> 0.8.0"}, {:inch_ex, "~> 0.5", only: :dev}, ] end end