defmodule Statex.MixProject do use Mix.Project def project do [ app: :statex, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), #for dialyxir dialyzer: [plt_add_deps: :transitive], #coverage tools test_coverage: [tool: ExCoveralls], preferred_cli_env: [coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test], description: "provides a simplified state machine implementation and DSL", package: [links: [], licenses: ["MIT"]], source_url: "http://github.com/RstorLabs/statex" ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:ex_doc, "~> 0.19", only: :dev, runtime: false}, {:dialyxir, "~> 0.5", only: [:dev], runtime: false}, {:excoveralls, "~> 0.9", only: :test}, # until some changes are merged into the primary :stream_data repo, # the following fork can be used to execute parallel tests #{:stream_data, github: "isaac-rstor/stream_data", only: :test}, {:stream_data, "~> 0.1", only: :test}, {:credo, "~> 1.0.0", only: [:dev, :test], runtime: false}, ] end end