Skip to content

Commit

Permalink
[feature] hex publish (elixir-grpc#24)
Browse files Browse the repository at this point in the history
* add metadata to mix.exs

* revert unrelated change
  • Loading branch information
zhihuizhang17 authored Feb 18, 2024
1 parent 07a295d commit 2603dd3
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
defmodule GrpcReflection.MixProject do
use Mix.Project

@version "0.1.0"
@description "gRPC reflection server for Elixir"

def project do
[
app: :grpc_reflection,
version: "0.1.0",
version: @version,
description: @description,
elixir: "~> 1.15",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
aliases: aliases(),
test_coverage: [
ignore_modules: [
Expand Down Expand Up @@ -86,4 +91,13 @@ defmodule GrpcReflection.MixProject do
end
)
end

defp package do
%{
name: "grpc_reflection",
files: ~w(.formatter.exs mix.exs lib),
links: %{"GitHub" => "https://github.com/elixir-grpc/grpc-reflection"},
licenses: ["Apache-2.0"]
}
end
end

0 comments on commit 2603dd3

Please sign in to comment.