Skip to content

Commit

Permalink
#10 Adds elixir precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
Cleop committed Feb 16, 2018
1 parent ae29baa commit ec049eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
# and its dependencies with the aid of the Mix.Config module.
use Mix.Config

config :pre_commit, commands: ["test", "credo", "coveralls"]
config :app, cowboy_port: 8080
3 changes: 2 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ defmodule App.Mixfile do # this is a fairly standard/simple mix file ...
{:dogma, "~> 0.1", only: [:test, :dev]}, # Elixir style
{:credo, "~> 0.8.6", only: [:dev, :test]}, # github.com/rrrene/credo
{:inch_ex, "~> 0.5.6", only: :docs}, # see: https://git.io/v5inX
{:socket, "~> 0.3"}
{:socket, "~> 0.3"},
{:pre_commit, "~> 0.2.4", only: :dev}
]
end
end

0 comments on commit ec049eb

Please sign in to comment.