Skip to content

Commit

Permalink
[#300] Renamed app to elvis_shell
Browse files Browse the repository at this point in the history
  • Loading branch information
jfacorro committed Dec 22, 2015
1 parent 6073176 commit 10801a8
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.erlang.mk/
elvis.d
elvis_shell.d
.eunit
.rebar
deps
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PROJECT = elvis
PROJECT = elvis_shell

DEPS = lager elvis_core getopt jiffy ibrowse egithub
SHELL_DEPS = sync
Expand All @@ -25,8 +25,8 @@ ERLC_OPTS += +warn_export_vars +warn_exported_vars +warn_missing_spec +warn_unty

TEST_ERLC_OPTS += +'{parse_transform, lager_transform}'
CT_OPTS = -cover test/elvis.coverspec -erl_args -config config/test.config

SHELL_OPTS = -name elvis@`hostname` -s sync -s elvis -s lager -config config/elvis.config
ESCRIPT_NAME = elvis

# Builds the elvis escript.
escript::
Expand Down
20 changes: 0 additions & 20 deletions src/elvis.app.src

This file was deleted.

2 changes: 1 addition & 1 deletion src/elvis.erl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% @doc Used when starting the application on the shell.
-spec start() -> ok.
start() ->
{ok, _} = application:ensure_all_started(elvis),
{ok, _} = application:ensure_all_started(elvis_shell),
ok.

-spec main([string()]) -> ok.
Expand Down
16 changes: 16 additions & 0 deletions src/elvis_shell.app.src
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
application, elvis_shell,
[
{description, "CLI for the Elvis Erlang Style Reviewer"},
{vsn, "0.2.6-alpha1"},
{applications, [kernel, elvis, stdlib, ibrowse, ssl, jiffy, lager, aleppo, zipper]},
{modules,
[
elvis,
elvis_git,
elvis_webhook
]
},
{registered, []}
]
}.

0 comments on commit 10801a8

Please sign in to comment.