Browse Source

add excoveralls and credo

tags/v0.1.1
Inhji Y. 6 months ago
parent
commit
6b1dfeab32
8 changed files with 33 additions and 8 deletions
  1. +3
    -1
      apps/bookmarks/mix.exs
  2. +3
    -1
      apps/db/mix.exs
  3. +3
    -1
      apps/scraper/mix.exs
  4. +3
    -1
      apps/tags/mix.exs
  5. +3
    -1
      apps/tomie/mix.exs
  6. +3
    -1
      apps/tomie_web/mix.exs
  7. +12
    -2
      mix.exs
  8. +3
    -0
      mix.lock

+ 3
- 1
apps/bookmarks/mix.exs View File

@@ -11,7 +11,8 @@ defmodule Bookmarks.MixProject do
lockfile: "../../mix.lock",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps()
deps: deps(),
test_coverage: [tool: ExCoveralls]
]
end

@@ -27,6 +28,7 @@ defmodule Bookmarks.MixProject do
[
{:que, "~> 0.10.1"},
{:ecto_sql, "~> 3.1"},
{:excoveralls, "~> 0.12.3", only: :test},
{:db, in_umbrella: true},
{:tags, in_umbrella: true},
{:scraper, in_umbrella: true}


+ 3
- 1
apps/db/mix.exs View File

@@ -12,7 +12,8 @@ defmodule Db.MixProject do
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases()
aliases: aliases(),
test_coverage: [tool: ExCoveralls]
]
end

@@ -28,6 +29,7 @@ defmodule Db.MixProject do
defp deps do
[
{:ecto_sql, "~> 3.1"},
{:excoveralls, "~> 0.12.3", only: :test},
{:postgrex, ">= 0.0.0"}
]
end


+ 3
- 1
apps/scraper/mix.exs View File

@@ -11,7 +11,8 @@ defmodule Scraper.MixProject do
lockfile: "../../mix.lock",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps()
deps: deps(),
test_coverage: [tool: ExCoveralls]
]
end

@@ -27,6 +28,7 @@ defmodule Scraper.MixProject do
[
{:open_graph_extended, git: "https://git.inhji.de/inhji/open_graph.git"},
{:httpoison, "~> 1.6"},
{:excoveralls, "~> 0.12.3", only: :test},
{:floki, "~> 0.26.0"}
]
end


+ 3
- 1
apps/tags/mix.exs View File

@@ -11,7 +11,8 @@ defmodule Tags.MixProject do
lockfile: "../../mix.lock",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps()
deps: deps(),
test_coverage: [tool: ExCoveralls]
]
end

@@ -27,6 +28,7 @@ defmodule Tags.MixProject do
[
{:ecto_sql, "~> 3.1"},
{:ecto_autoslug_field, "~> 2.0"},
{:excoveralls, "~> 0.12.3", only: :test},
{:db, in_umbrella: true}
]
end


+ 3
- 1
apps/tomie/mix.exs View File

@@ -13,7 +13,8 @@ defmodule Tomie.MixProject do
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps()
deps: deps(),
test_coverage: [tool: ExCoveralls]
]
end

@@ -39,6 +40,7 @@ defmodule Tomie.MixProject do
{:ecto_sql, "~> 3.1"},
{:jason, "~> 1.0"},
{:pow, "~> 1.0.19"},
{:excoveralls, "~> 0.12.3", only: :test},
{:db, in_umbrella: true}
]
end


+ 3
- 1
apps/tomie_web/mix.exs View File

@@ -14,7 +14,8 @@ defmodule TomieWeb.MixProject do
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps()
deps: deps(),
test_coverage: [tool: ExCoveralls]
]
end

@@ -47,6 +48,7 @@ defmodule TomieWeb.MixProject do
{:plug_cowboy, "~> 2.0"},
{:pow, "~> 1.0.19"},
{:que, "~> 0.10.1"},
{:excoveralls, "~> 0.12.3", only: :test},
{:tomie, in_umbrella: true},
{:bookmarks, in_umbrella: true},
{:db, in_umbrella: true}


+ 12
- 2
mix.exs View File

@@ -5,7 +5,14 @@ defmodule Tomie.Umbrella.MixProject do
[
apps_path: "apps",
start_permanent: Mix.env() == :prod,
deps: deps()
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
]
]
end

@@ -22,6 +29,9 @@ defmodule Tomie.Umbrella.MixProject do
# Dependencies listed here are available only for this project
# and cannot be accessed from applications inside the apps folder
defp deps do
[]
[
{:excoveralls, "~> 0.12.3", only: :test},
{:credo, "~> 1.3", only: [:dev, :test], runtime: false}
]
end
end

+ 3
- 0
mix.lock View File

@@ -1,14 +1,17 @@
%{
"bunt": {:hex, :bunt, "0.2.0", "951c6e801e8b1d2cbe58ebbd3e616a869061ddadcc4863d0a2182541acae9a38", [:mix], [], "hexpm", "7af5c7e09fe1d40f76c8e4f9dd2be7cebd83909f31fee7cd0e9eadc567da8353"},
"certifi": {:hex, :certifi, "2.5.1", "867ce347f7c7d78563450a18a6a28a8090331e77fa02380b4a21962a65d36ee5", [:rebar3], [{:parse_trans, "~>3.3", [hex: :parse_trans, repo: "hexpm", optional: false]}], "hexpm", "805abd97539caf89ec6d4732c91e62ba9da0cda51ac462380bbd28ee697a8c42"},
"connection": {:hex, :connection, "1.0.4", "a1cae72211f0eef17705aaededacac3eb30e6625b04a6117c1b2db6ace7d5976", [:mix], [], "hexpm", "4a0850c9be22a43af9920a71ab17c051f5f7d45c209e40269a1938832510e4d9"},
"cowboy": {:hex, :cowboy, "2.7.0", "91ed100138a764355f43316b1d23d7ff6bdb0de4ea618cb5d8677c93a7a2f115", [:rebar3], [{:cowlib, "~> 2.8.0", [hex: :cowlib, repo: "hexpm", optional: false]}, {:ranch, "~> 1.7.1", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm", "04fd8c6a39edc6aaa9c26123009200fc61f92a3a94f3178c527b70b767c6e605"},
"cowlib": {:hex, :cowlib, "2.8.0", "fd0ff1787db84ac415b8211573e9a30a3ebe71b5cbff7f720089972b2319c8a4", [:rebar3], [], "hexpm", "79f954a7021b302186a950a32869dbc185523d99d3e44ce430cd1f3289f41ed4"},
"credo": {:hex, :credo, "1.3.2", "08d456dcf3c24da162d02953fb07267e444469d8dad3a2ae47794938ea467b3a", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "b11d28cce1f1f399dddffd42d8e21dcad783309e230f84b70267b1a5546468b6"},
"db_connection": {:hex, :db_connection, "2.2.1", "caee17725495f5129cb7faebde001dc4406796f12a62b8949f4ac69315080566", [:mix], [{:connection, "~> 1.0.2", [hex: :connection, repo: "hexpm", optional: false]}], "hexpm", "2b02ece62d9f983fcd40954e443b7d9e6589664380e5546b2b9b523cd0fb59e1"},
"decimal": {:hex, :decimal, "1.8.1", "a4ef3f5f3428bdbc0d35374029ffcf4ede8533536fa79896dd450168d9acdf3c", [:mix], [], "hexpm", "3cb154b00225ac687f6cbd4acc4b7960027c757a5152b369923ead9ddbca7aec"},
"ecto": {:hex, :ecto, "3.4.0", "a7a83ab8359bf816ce729e5e65981ce25b9fc5adfc89c2ea3980f4fed0bfd7c1", [:mix], [{:decimal, "~> 1.6 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}], "hexpm", "5eed18252f5b5bbadec56a24112b531343507dbe046273133176b12190ce19cc"},
"ecto_autoslug_field": {:hex, :ecto_autoslug_field, "2.0.1", "2177c1c253f6dd3efd4b56d1cb76104d0a6ef044c6b9a7a0ad6d32665c4111e5", [:mix], [{:ecto, ">= 2.1.0", [hex: :ecto, repo: "hexpm", optional: false]}, {:slugger, ">= 0.2.0", [hex: :slugger, repo: "hexpm", optional: false]}], "hexpm", "a3cc73211f2e75b89a03332183812ebe1ac08be2e25a1df5aa3d1422f92c45c3"},
"ecto_sql": {:hex, :ecto_sql, "3.4.1", "3c9136ba138f9b74d31286c73c61232a92bd19385f7c5607bdeb3a4587ef91f5", [:mix], [{:db_connection, "~> 2.2", [hex: :db_connection, repo: "hexpm", optional: false]}, {:ecto, "~> 3.4.0", [hex: :ecto, repo: "hexpm", optional: false]}, {:myxql, "~> 0.3.0 or ~> 0.4.0", [hex: :myxql, repo: "hexpm", optional: true]}, {:postgrex, "~> 0.15.0", [hex: :postgrex, repo: "hexpm", optional: true]}, {:tds, "~> 2.1.0", [hex: :tds, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "9b4be0bffe7b0bdf5393defcae52712f248e70cc2bc0e8ab6ddb03be66371516"},
"ex_utils": {:hex, :ex_utils, "0.1.7", "2c133e0bcdc49a858cf8dacf893308ebc05bc5fba501dc3d2935e65365ec0bf3", [:mix], [], "hexpm", "66d4fe75285948f2d1e69c2a5ddd651c398c813574f8d36a9eef11dc20356ef6"},
"excoveralls": {:hex, :excoveralls, "0.12.3", "2142be7cb978a3ae78385487edda6d1aff0e482ffc6123877bb7270a8ffbcfe0", [:mix], [{:hackney, "~> 1.0", [hex: :hackney, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "568a3e616c264283f5dea5b020783ae40eef3f7ee2163f7a67cbd7b35bcadada"},
"fast_html": {:hex, :fast_html, "1.0.3", "2cc0d4b68496266a1530e0c852cafeaede0bd10cfdee26fda50dc696c203162f", [:make, :mix], [], "hexpm", "ab3d782b639d3c4655fbaec0f9d032c91f8cab8dd791ac7469c2381bc7c32f85"},
"file_system": {:hex, :file_system, "0.2.8", "f632bd287927a1eed2b718f22af727c5aeaccc9a98d8c2bd7bff709e851dc986", [:mix], [], "hexpm", "97a3b6f8d63ef53bd0113070102db2ce05352ecf0d25390eb8d747c2bde98bca"},
"floki": {:hex, :floki, "0.26.0", "4df88977e2e357c6720e1b650f613444bfb48c5acfc6a0c646ab007d08ad13bf", [:mix], [{:html_entities, "~> 0.5.0", [hex: :html_entities, repo: "hexpm", optional: false]}], "hexpm", "e7b66ce7feef5518a9cd9fc7b52dd62a64028bd9cb6d6ad282a0f0fc90a4ae52"},


Loading…
Cancel
Save