Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Personal Server Community
Gaja
Commits
efe18235
Commit
efe18235
authored
Aug 11, 2019
by
Frank
👽
Browse files
Add modules: security check + better params
parent
c35cda1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
mix.exs
mix.exs
+7
-5
No files found.
mix.exs
View file @
efe18235
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment