Merge pull request #1 from keynslug/fix/rename

Rename project
This commit is contained in:
Andrew Mayorov 2016-04-07 14:43:33 +03:00
commit 20a01ee95c
10 changed files with 64 additions and 18 deletions

1
.gitignore vendored
View File

@ -3,7 +3,6 @@ log
/_build/
*~
erl_crash.dump
/*.config
.tags*
*.sublime-workspace
.DS_Store

View File

@ -1,5 +1,5 @@
REBAR := $(shell which rebar3 2>/dev/null || which ./rebar3)
RELNAME = hellegat
RELNAME = hellgate
.PHONY: all compile devrel start test clean distclean dialyze
@ -14,8 +14,8 @@ rebar-update:
devrel:
$(REBAR) release
start: devrel
_build/default/rel/${RELNAME}/bin/${RELNAME} console
start:
$(REBAR) run
test:
$(REBAR) ct

View File

@ -1,2 +1,3 @@
# hellegat
Processing main repository
# Hellgate
Проект, реализующий основные state processors проведения платежей.

View File

@ -1,8 +1,8 @@
{application, hellegat , [
{application, hellgate, [
{description, "A service that does something"},
{vsn, "1"},
{registered, []},
{mod, { hellegat , []}},
{mod, {hellgate, []}},
{applications, [
kernel,
stdlib
@ -10,8 +10,9 @@
{env, []},
{modules, []},
{maintainers, [
"Petr Kozorezov <petr.kozorezov@gmail.com>"
"Petr Kozorezov <petr.kozorezov@gmail.com>",
"Andrey Mayorov <a.mayorov@rbkmoney.com>"
]},
{licenses, []},
{links, []}
{links, ["https://github.com/rbkmoney/hellgate"]}
]}.

View File

@ -1,7 +1,7 @@
%%% @doc Public API, supervisor and application startup.
%%% @end
-module(hellegat).
-module(hellgate).
-behaviour(supervisor).
-behaviour(application).
@ -22,12 +22,12 @@
-spec start() ->
{ok, _}.
start() ->
application:ensure_all_started(hellegat).
application:ensure_all_started(?MODULE).
-spec stop() ->
ok.
stop() ->
application:stop(hellegat).
application:stop(?MODULE).
%%
%% Supervisor callbacks

View File

@ -1,4 +1,4 @@
-module(hellegat_tests_SUITE).
-module(hellgate_tests_SUITE).
-include_lib("common_test/include/ct.hrl").
-compile(export_all).
@ -14,7 +14,7 @@ all() ->
%% starting/stopping
%%
init_per_suite(C) ->
{ok, Apps} = application:ensure_all_started(hellegat),
{ok, Apps} = application:ensure_all_started(hellgate),
[{apps, Apps}|C].
init_per_suite(_, _C) ->

View File

@ -1,3 +1,3 @@
[
{ hellegat , []}
{hellgate, []}
].

View File

@ -1,6 +1,6 @@
-sname hellegat
-sname hellgate
-setcookie hellegat_cookie
-setcookie hellgate_cookie
+K true
+A 10

44
rebar.config Normal file
View File

@ -0,0 +1,44 @@
{plugins, [
rebar3_run
]}.
% Common project erlang options.
{erl_opts, [
debug_info,
warnings_as_errors
]}.
% Common project dependencies.
{deps, [
]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
deprecated_functions_calls,
deprecated_functions
]}.
{relx, [
{release, {hellgate, "0.1.0"}, [
hellgate,
sasl
]},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true}
]}.
{profiles, [
{prod, [
{relx, [
{dev_mode, false},
{include_erts, true}
]}
]},
{test, [
{deps, []}
]}
]}.

1
rebar.lock Normal file
View File

@ -0,0 +1 @@
[].