Skip to content

Commit

Permalink
config: hex package metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedsoupe committed Sep 2, 2024
1 parent 5376780 commit 897b4f7
Showing 1 changed file with 32 additions and 4 deletions.
36 changes: 32 additions & 4 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
defmodule Atproto.MixProject do
use Mix.Project

@version "0.1.0"
@source_url "https://github.com/zoedsoupe/atproto-ex"

def project do
[
app: :atproto,
version: "0.1.0",
version: @version,
elixir: "~> 1.17",
start_permanent: Mix.env() == :prod,
deps: deps()
deps: deps(),
docs: docs(),
package: package(),
description: description()
]
end

Expand All @@ -21,9 +27,31 @@ defmodule Atproto.MixProject do

# Run "mix help deps" to learn about dependencies.
defp deps do
[]
end

defp package do
%{
licenses: ["MIT"],
contributors: ["zoedsoupe"],
links: %{
"GitHub" => @source_url,
"Docs" => "https://hexdocs.pm/atproto"
},
files: ~w[lib mix.exs README.md LICENSE]
}
end

defp docs do
[
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
main: "Atproto",
extras: ["README.md"]
]
end

defp description do
"""
ATProtocol and Bluesky client for Elixir
"""
end
end

0 comments on commit 897b4f7

Please sign in to comment.