Skip to content

Commit

Permalink
v0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
princemaple committed Oct 12, 2020
1 parent 77ba0be commit 30a8d04
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 30 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Changelog

## v0.3.1

### Changes

- Fix warnings on Elixir v1.11 about missing apps @josevalim (#152)

## v0.3.0 - 2020-07-14

### Changed
Expand Down
69 changes: 39 additions & 30 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,43 +1,50 @@
defmodule PhoenixSwoosh.Mixfile do
use Mix.Project

@version "0.3.0"
@version "0.3.1"

def project do
[app: :phoenix_swoosh,
version: @version,
elixir: "~> 1.8",
compilers: compilers(Mix.env),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),

# Hex
description: description(),
package: package(),

# Docs
name: "Phoenix.Swoosh",
docs: [source_ref: "v#{@version}", main: "Phoenix.Swoosh",
canonical: "http://hexdocs.pm/phoenix_swoosh",
source_url: "https://github.com/swoosh/phoenix_swoosh"]]
[
app: :phoenix_swoosh,
version: @version,
elixir: "~> 1.8",
compilers: compilers(Mix.env()),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),

# Hex
description: description(),
package: package(),

# Docs
name: "Phoenix.Swoosh",
docs: [
source_ref: "v#{@version}",
main: "Phoenix.Swoosh",
canonical: "http://hexdocs.pm/phoenix_swoosh",
source_url: "https://github.com/swoosh/phoenix_swoosh"
]
]
end

defp compilers(:test), do: [:phoenix] ++ Mix.compilers
defp compilers(_), do: Mix.compilers
defp compilers(:test), do: [:phoenix] ++ Mix.compilers()
defp compilers(_), do: Mix.compilers()

def application do
[extra_applications: [:logger]]
end

defp deps do
[{:swoosh, "~> 1.0"},
{:phoenix, "~> 1.4"},
{:phoenix_html, "~> 2.14"},
{:hackney, "~> 1.9"},
{:credo, "~> 1.0", only: [:dev, :test]},
{:ex_doc, "~> 0.22", only: :docs},
{:inch_ex, ">= 0.0.0", only: :docs}]
[
{:swoosh, "~> 1.0"},
{:phoenix, "~> 1.4"},
{:phoenix_html, "~> 2.14"},
{:hackney, "~> 1.9"},
{:credo, "~> 1.0", only: [:dev, :test]},
{:ex_doc, "~> 0.22", only: :docs},
{:inch_ex, ">= 0.0.0", only: :docs}
]
end

defp description do
Expand All @@ -47,8 +54,10 @@ defmodule PhoenixSwoosh.Mixfile do
end

defp package do
[maintainers: ["Steve Domin", "Po Chen"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/swoosh/phoenix_swoosh"}]
[
maintainers: ["Steve Domin", "Po Chen"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/swoosh/phoenix_swoosh"}
]
end
end

0 comments on commit 30a8d04

Please # to comment.