Skip to content

Commit 58f8e08

Browse files
Merge pull request #4 from DefactoSoftware/jesse/add-dialyzer
Add dialyzer
2 parents af565a4 + 6fce8d6 commit 58f8e08

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: mix compile --warnings-as-errors
2121
- run: mix coveralls.json
2222
- run: bash <(curl -s https://codecov.io/bash) -t "$CODECOV_KEY"
23+
- run: mix dialyzer
2324
- run: mix credo --strict
2425
- save_cache:
2526
key: v1-mix-deps-{{ checksum "mix.lock" }}

mix.exs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ defmodule ExCSSModules.Mixfile do
1515
package: package(),
1616
deps: deps(),
1717
test_coverage: [tool: ExCoveralls],
18-
preferred_cli_env: ["coveralls": :test, "coveralls.detail": :test]]
18+
preferred_cli_env: ["coveralls": :test, "coveralls.detail": :test],
19+
dialyzer: [plt_add_deps: true]]
1920
end
2021

2122
def application do
@@ -45,6 +46,7 @@ defmodule ExCSSModules.Mixfile do
4546
[
4647
{:ex_doc, ">= 0.0.0", only: [:dev, :test]},
4748
{:excoveralls, "~> 0.7", only: :test},
49+
{:dialyxir, "~> 0.5", only: [:dev, :test]},
4850
{:phoenix_html, "~> 2.10"},
4951
{:poison, "~> 3.1"},
5052
{:mix_test_watch, "~> 0.3", only: :dev, runtime: false},

mix.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
%{"bunt": {:hex, :bunt, "0.2.0", "951c6e801e8b1d2cbe58ebbd3e616a869061ddadcc4863d0a2182541acae9a38", [:mix], [], "hexpm"},
22
"certifi": {:hex, :certifi, "2.0.0", "a0c0e475107135f76b8c1d5bc7efb33cd3815cb3cf3dea7aefdd174dabead064", [], [], "hexpm"},
33
"credo": {:hex, :credo, "0.8.6", "335f723772d35da499b5ebfdaf6b426bfb73590b6fcbc8908d476b75f8cbca3f", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, repo: "hexpm", optional: false]}], "hexpm"},
4+
"dialyxir": {:hex, :dialyxir, "0.5.1", "b331b091720fd93e878137add264bac4f644e1ddae07a70bf7062c7862c4b952", [], [], "hexpm"},
45
"earmark": {:hex, :earmark, "1.2.3", "206eb2e2ac1a794aa5256f3982de7a76bf4579ff91cb28d0e17ea2c9491e46a4", [:mix], [], "hexpm"},
56
"ex_doc": {:hex, :ex_doc, "0.16.4", "4bf6b82d4f0a643b500366ed7134896e8cccdbab4d1a7a35524951b25b1ec9f0", [:mix], [{:earmark, "~> 1.1", [hex: :earmark, repo: "hexpm", optional: false]}], "hexpm"},
67
"excoveralls": {:hex, :excoveralls, "0.7.4", "3d84b2f15a0e593159f74b19f83794b464b34817183d27965bdc6c462de014f9", [], [{:exjsx, ">= 3.0.0", [hex: :exjsx, repo: "hexpm", optional: false]}, {:hackney, ">= 0.12.0", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm"},

0 commit comments

Comments
 (0)