defmodule Tds.Mixfile do use Mix.Project def project do [ app: :tds, version: "1.0.8", elixir: "~> 1.0", deps: deps(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [ "coveralls": :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test ], description: description(), package: package(), # Docs name: "Tds", source_url: "https://github.com/livehelpnow/tds", docs: [ main: "Readme", extras: ["README.md"] ] ] end # Configuration for the OTP application # # Type `mix help compile.app` for more information def application do [applications: [:logger, :db_connection, :decimal]] 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 [ {:credo, "~> 0.8", only: [:dev, :test], runtime: false}, {:decimal, "~> 1.4"}, {:db_connection, "~> 1.1"}, {:dialyxir, "~> 0.5", only: [:dev], runtime: false}, {:excoveralls, "~> 0.7", only: :test}, {:ex_doc, "~> 0.18", only: :dev} ] end defp description do """ Microsoft SQL Server client (Elixir implementation of the MS TDS protocol) """ end defp package do [ name: "tds", files: ["lib", "mix.exs", "README*"], maintainers: ["Eric Witchin", "Milan Jaric"], licenses: ["Apache 2.0"], links: %{"Github" => "https://github.com/livehelpnow/tds"} ] end end