Skip to content

Commit

Permalink
[#97] Updated elvis.config files
Browse files Browse the repository at this point in the history
  • Loading branch information
davecaos committed Dec 30, 2015
1 parent a2cc29a commit 9df2f08
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ SHELL_DEPS := sync
TEST_DEPS = mixer
LOCAL_DEPS := xmerl tools compiler syntax_tools common_test inets ssl test_server hipe public_key dialyzer wx

dep_eper = hex 0.94.0
dep_inaka_aleppo = hex 0.9.4
dep_eper = hex 0.94.0
dep_inaka_aleppo = hex 0.9.4
dep_xref_runner = hex 0.2.4
dep_inaka_mixer = hex 0.1.4
dep_elvis_core = git https://github.com/inaka/elvis_core.git 0.2.6-alpha2
Expand Down
4 changes: 3 additions & 1 deletion elvis.config
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#{dirs => ["."],
filter => "Makefile",
rules => [{elvis_project, no_deps_master_erlang_mk, #{ignore => []}},
{elvis_project, protocol_for_deps_erlang_mk, #{ignore => []}}]
{elvis_project, protocol_for_deps_erlang_mk, #{ regex => "(https://.*|[0-9]+([.][0-9]+)*)"}}]
},
#{dirs => ["."],
filter => "elvis.config",
Expand All @@ -51,3 +51,5 @@
]
}
].


2 changes: 1 addition & 1 deletion test/elvis.config
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#{dirs => ["../.."],
filter => "Makefile",
rules => [{elvis_project, no_deps_master_erlang_mk, #{ignore => []}},
{elvis_project, protocol_for_deps_erlang_mk, #{ regex => "(https://.* | *)"}}]
{elvis_project, protocol_for_deps_erlang_mk, #{ regex => "(https://.*|[0-9]+([.][0-9]+)*)"}}]
},
#{dirs => ["../.."],
filter => "elvis.config",
Expand Down

0 comments on commit 9df2f08

Please sign in to comment.