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