Commit efe18235 authored by Frank's avatar Frank 👽
Browse files

Add modules: security check + better params

parent c35cda1b
......@@ -6,9 +6,9 @@ defmodule Gaja.Mixfile do
app: :gaja,
version: "0.0.1",
elixir: "~> 1.4",
elixirc_paths: elixirc_paths(Mix.env),
compilers: [:phoenix, :gettext] ++ Mix.compilers,
start_permanent: Mix.env == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps()
]
......@@ -26,7 +26,7 @@ defmodule Gaja.Mixfile do
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "web", "test/support"]
defp elixirc_paths(_), do: ["lib", "web"]
defp elixirc_paths(_), do: ["lib", "web"]
# Specifies your project dependencies.
#
......@@ -47,7 +47,9 @@ defmodule Gaja.Mixfile do
{:phauxth, "~> 2.1"},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false},
{:credo, "~> 1.0.0", only: [:dev, :test], runtime: false},
{:distillery, "~> 2.1.1"}
{:distillery, "~> 2.1.1"},
{:sobelow, "~> 0.8", only: :dev},
{:better_params, "~> 0.5.0"}
]
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment