A set of utilities for working with the AT Protocol in Elixir.
1defmodule Atex.MixProject do 2 use Mix.Project 3 4 @version "0.3.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 {:ex_cldr, "~> 2.42"}, 36 {:credo, "~> 1.7", only: [:dev, :test], runtime: false}, 37 {:ex_doc, "~> 0.34", only: :dev, runtime: false, warn_if_outdated: true} 38 ] 39 end 40 41 defp package do 42 [ 43 licenses: ["MIT"], 44 links: %{"GitHub" => @source_url} 45 ] 46 end 47 48 defp docs do 49 [ 50 extras: [ 51 LICENSE: [title: "License"], 52 "README.md": [title: "Overview"] 53 ], 54 main: "readme", 55 source_url: @source_url, 56 source_ref: "v#{@version}", 57 formatters: ["html"] 58 ] 59 end 60end