Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
defmodule Msg.MixProject do
use Mix.Project

@app :msg
@version "0.2.0"
@source_url "https://github.com/riddler/msg"
@deps [
# Docs - separated out to speed up dev compilcation
{:ex_doc, "~> 0.31", only: :docs, runtime: false},
Expand All @@ -21,17 +23,14 @@ defmodule Msg.MixProject do

def project do
[
app: :msg,
app: @app,
version: @version,
elixir: "~> 1.16",
start_permanent: Mix.env() == :prod,
deps: @deps,
description: "Microsoft Graph for Elixir",
package: [
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/riddler/msg"}
],
test_coverage: [tool: ExCoveralls],
package: package(),
dialyzer: [
plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
plt_add_apps: [:mix, :ex_unit],
Expand All @@ -46,6 +45,16 @@ defmodule Msg.MixProject do
]
end

defp package do
[
name: @app,
files: ~w(lib/msg* mix.exs README.md LICENSE),
licenses: ["MIT"],
links: %{"GitHub" => @source_url},
maintainers: ["Riddler Team"]
]
end

def cli do
[
preferred_envs: [
Expand Down