Skip to content

Commit

Permalink
Merge pull request #5 from ppraisethesun/warning
Browse files Browse the repository at this point in the history
fix warning: found quoted keyword "coveralls" but the quotes are not …
  • Loading branch information
sobolevn committed May 24, 2019
2 parents 60c4ac5 + 047886c commit 56a5aee
Showing 1 changed file with 35 additions and 32 deletions.
67 changes: 35 additions & 32 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,30 @@ defmodule Petrovich.Mixfile do
@url "https://github.com/petrovich/petrovich_elixir"

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

build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
# Hex:
docs: docs(),
description: description(),
package: package(),
source_url: @url,
homepage_url: @url,

deps: deps(),

# Hex:
docs: docs(),
description: description(),
package: package(),
source_url: @url,
homepage_url: @url,

# Test coverage:
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
"coveralls": :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test,
]]
# Test coverage:
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
]
]
end

def application do
Expand All @@ -37,13 +37,15 @@ defmodule Petrovich.Mixfile do
end

defp deps do
[{:poison, "~> 3.1"},
[
{:poison, "~> 3.1"},

# Dev and test dependencies:
{:credo, "~> 0.8", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.7", only: :test, runtime: false},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev}]
# Dev and test dependencies:
{:credo, "~> 0.8", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.7", only: :test, runtime: false},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end

defp description do
Expand All @@ -55,10 +57,11 @@ defmodule Petrovich.Mixfile do
end

defp package do
[maintainers: ["Nikita Sobolev"],
licenses: ["MIT"],
links: %{"GitHub" => @url},
files: ~w(mix.exs README.md lib config rules/*.json)
[
maintainers: ["Nikita Sobolev"],
licenses: ["MIT"],
links: %{"GitHub" => @url},
files: ~w(mix.exs README.md lib config rules/*.json)
]
end
end

0 comments on commit 56a5aee

Please sign in to comment.