mix.exs (1060B)
1 defmodule HPAX.MixProject do 2 use Mix.Project 3 4 @version "0.1.2" 5 @repo_url "https://github.com/elixir-mint/hpax" 6 7 def project do 8 [ 9 app: :hpax, 10 version: @version, 11 elixir: "~> 1.5", 12 start_permanent: Mix.env() == :prod, 13 deps: deps(), 14 15 # Tests 16 test_coverage: [tool: ExCoveralls], 17 18 # Hex 19 package: package(), 20 description: "Implementation of the HPACK protocol (RFC 7541) for Elixir", 21 22 # Docs 23 name: "HPAX", 24 docs: [ 25 source_ref: "v#{@version}", 26 source_url: @repo_url 27 ] 28 ] 29 end 30 31 def application do 32 [ 33 extra_applications: [] 34 ] 35 end 36 37 defp deps do 38 [ 39 {:ex_doc, "~> 0.20", only: :dev}, 40 {:hpack, ">= 0.0.0", hex: :hpack_erl, only: :test}, 41 {:stream_data, "~> 0.5.0", only: [:dev, :test]}, 42 {:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false}, 43 {:excoveralls, "~> 0.14", only: :test} 44 ] 45 end 46 47 defp package do 48 [ 49 licenses: ["Apache-2.0"], 50 links: %{"GitHub" => @repo_url} 51 ] 52 end 53 end