A set of utilities for working with the AT Protocol in Elixir.
1defmodule Atex.MixProject do 2 use Mix.Project 3 4 @version "0.2.0" 5 @source_url "https://github.com/cometsh/atex" 6 7 def project do 8 [ 9 app: :atex, 10 version: @version, 11 elixir: "~> 1.18", 12 start_permanent: Mix.env() == :prod, 13 deps: deps(), 14 name: "atex", 15 description: "A set of utilities for working with the AT Protocol in Elixir.", 16 package: package(), 17 docs: docs() 18 ] 19 end 20 21 def application do 22 [ 23 extra_applications: [:logger], 24 mod: {Atex.Application, []} 25 ] 26 end 27 28 defp deps do 29 [ 30 {:peri, "~> 0.5"}, 31 {:multiformats_ex, "~> 0.2"}, 32 {:recase, "~> 0.5"}, 33 {:req, "~> 0.5"}, 34 {:typedstruct, "~> 0.5"}, 35 {:credo, "~> 1.7", only: [:dev, :test], runtime: false}, 36 {:ex_doc, "~> 0.34", only: :dev, runtime: false, warn_if_outdated: true} 37 ] 38 end 39 40 defp package do 41 [ 42 licenses: ["MIT"], 43 links: %{"GitHub" => @source_url} 44 ] 45 end 46 47 defp docs do 48 [ 49 extras: [ 50 LICENSE: [title: "License"], 51 "README.md": [title: "Overview"] 52 ], 53 main: "readme", 54 source_url: @source_url, 55 source_ref: "v#{@version}", 56 formatters: ["html"] 57 ] 58 end 59end