Code.ensure_loaded?(Hex) and Hex.start defmodule ConCache.Mixfile do use Mix.Project @version "0.9.0" def project do [ app: :con_cache, version: @version, elixir: "~> 1.0", deps: deps, package: [ contributors: ["Saša Jurić"], licenses: ["MIT"], links: %{ "Github" => "https://github.com/sasa1977/con_cache", "Docs" => "http://hexdocs.pm/con_cache", "Changelog" => "https://github.com/sasa1977/con_cache/blob/#{@version}/CHANGELOG.md#v#{String.replace(@version, ".", "")}" } ], description: "ETS based key-value storage with support for row-level isolated writes, TTL auto-purge, and modification callbacks.", docs: [ readme: "README.md", main: "ConCache", source_url: "https://github.com/sasa1977/con_cache/", source_ref: @version ] ] end def application do [applications: [:logger, :exactor], mod: {ConCache.Application, []}] end defp deps do [ {:exactor, "~> 2.2.0"}, {:ex_doc, "~> 0.8.4", only: :docs}, {:earmark, "~> 0.1", only: :docs} ] end end