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