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