forked from benoitc/erica
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
erlca -> erica final name of couchapp utility in erlang.
- Loading branch information
Showing
17 changed files
with
187 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ doc: | |
|
||
clean: | ||
@./rebar clean | ||
@rm -f erlca | ||
@rm -f erica | ||
|
||
distclean: clean | ||
@./rebar delete-deps | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
%%% -*- erlang -*- | ||
%%% | ||
%%% This file is part of erica released under the Apache 2 license. | ||
%%% See the NOTICE for more information. | ||
|
||
{application, erica, | ||
[{description, "erica: Couchdb Application Tool"}, | ||
{vsn, "0.1.0"}, | ||
{modules, []}, | ||
{registered, []}, | ||
{applications, [kernel, stdlib]}, | ||
{included_applications, [crypto, sasl, ibrowse, ejson, couchbeam]}, | ||
{env, [ | ||
%% default log level | ||
{log_level, error}, | ||
|
||
%% list of commands modules | ||
{modules, [ | ||
erica_init, | ||
erica_generate, | ||
erica_push, | ||
erica_clone]} | ||
]}]}. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
%%% -*- erlang -*- | ||
%%% | ||
%%% This file is part of erlca released under the Apache 2 license. | ||
%%% This file is part of erica released under the Apache 2 license. | ||
%%% See the NOTICE for more information. | ||
|
||
-module(erlca). | ||
-module(erica). | ||
-author('Benoît Chesneau <benoitc@e-engura.org>'). | ||
|
||
-export([main/1]). | ||
|
||
main(Args) -> | ||
case catch(erlca_core:run(Args)) of | ||
case catch(erica_core:run(Args)) of | ||
ok -> | ||
ok; | ||
{error, failed} -> | ||
halt(1); | ||
Error -> | ||
io:format("Uncaught error in erlca: ~p\n", [Error]), | ||
io:format("Uncaught error in erica: ~p\n", [Error]), | ||
halt(1) | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.