Compare commits
4 Commits
6939ae2fd1
...
8a68244c90
| Author | SHA1 | Date | |
|---|---|---|---|
| 8a68244c90 | |||
|
|
e31a8dd2f1 | ||
|
|
2ea84ee4b2 | ||
|
|
8d99f55377 |
@ -1,6 +1,6 @@
|
||||
{application,gmhive_client,
|
||||
[{description,"Gajumaru Hive Client"},
|
||||
{vsn,"0.4.8"},
|
||||
{vsn,"0.5.1"},
|
||||
{registered,[]},
|
||||
{applications,[kernel,stdlib,sasl,gproc,inets,ssl,enoise,
|
||||
gmconfig,gmhive_protocol,gmhive_worker]},
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
{gmhive_protocol,
|
||||
{git, "https://git.qpq.swiss/QPQ-AG/gmhive_protocol.git",
|
||||
{ref, "818ce33"}}},
|
||||
{gmhive_worker, {git, "https://git.qpq.swiss/QPQ-AG/gmhive_worker", {ref, "fac460714f"}}},
|
||||
{gmhive_worker, {git, "https://git.qpq.swiss/QPQ-AG/gmhive_worker", {ref, "cabd104114"}}},
|
||||
{gmconfig, {git, "https://git.qpq.swiss/QPQ-AG/gmconfig.git",
|
||||
{ref, "38620ff9e2"}}},
|
||||
{gproc, "1.0.0"},
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
0},
|
||||
{<<"gmcuckoo">>,
|
||||
{git,"https://git.qpq.swiss/QPQ-AG/gmcuckoo.git",
|
||||
{ref,"106e1cd2e4ff81286f6bc7d7c85f83bc20e14b82"}},
|
||||
{ref,"256e14e7c88043132245be902ff9756070d285b4"}},
|
||||
1},
|
||||
{<<"gmhive_protocol">>,
|
||||
{git,"https://git.qpq.swiss/QPQ-AG/gmhive_protocol.git",
|
||||
@ -29,7 +29,7 @@
|
||||
0},
|
||||
{<<"gmhive_worker">>,
|
||||
{git,"https://git.qpq.swiss/QPQ-AG/gmhive_worker",
|
||||
{ref,"fac460714fc228eb0b723a3f292a44aec77f094a"}},
|
||||
{ref,"cabd104114691edb925aacd7e04d431d47bac420"}},
|
||||
0},
|
||||
{<<"gmserialization">>,
|
||||
{git,"https://git.qpq.swiss/QPQ-AG/gmserialization.git",
|
||||
|
||||
@ -68,6 +68,7 @@ debug() ->
|
||||
subscribe(result),
|
||||
subscribe(error),
|
||||
subscribe(disconnected),
|
||||
gmhive_worker:subscribe_returns(),
|
||||
loop()
|
||||
end).
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
%% -*- mode: erlang; erlang-indent-level: 4; indent-tabs-mode: nil -*-
|
||||
{application, gmhive_client,
|
||||
[{description, "Gajumaru Hive Client"},
|
||||
{vsn, "0.1.0"},
|
||||
{vsn, "zomp"},
|
||||
{registered, []},
|
||||
{applications,
|
||||
[
|
||||
|
||||
14
src/gmhive_client.app.src.script
Normal file
14
src/gmhive_client.app.src.script
Normal file
@ -0,0 +1,14 @@
|
||||
%% -*- erlang-mode; erlang-indent-level: 4; indent-tabs-mode: nil -*-
|
||||
|
||||
[{application, Name, Opts}] = CONFIG.
|
||||
case lists:keyfind(vsn, 1, Opts) of
|
||||
{vsn, "zomp"} ->
|
||||
ZompMetaF = filename:join(filename:dirname(filename:dirname(SCRIPT)), "zomp.meta"),
|
||||
{ok, ZMeta} = file:consult(ZompMetaF),
|
||||
{_, {_, _, {Vmaj,Vmin,Vpatch}}} = lists:keyfind(package_id, 1, ZMeta),
|
||||
VsnStr = unicode:characters_to_list(io_lib:fwrite("~w.~w.~w", [Vmaj, Vmin, Vpatch])),
|
||||
Opts1 = lists:keyreplace(vsn, 1, Opts, {vsn, VsnStr}),
|
||||
[{application, Name, Opts1}];
|
||||
_ ->
|
||||
CONFIG
|
||||
end.
|
||||
@ -2,11 +2,11 @@
|
||||
{type,app}.
|
||||
{modules,[]}.
|
||||
{prefix,"gmhc"}.
|
||||
{author,"Ulf Wiger, QPQ AG"}.
|
||||
{desc,"Gajumaru Hive Client"}.
|
||||
{package_id,{"uwiger","gmhive_client",{0,4,8}}}.
|
||||
{deps,[{"uwiger","gmhive_worker",{0,4,0}},
|
||||
{"uwiger","gmcuckoo",{1,2,3}},
|
||||
{author,"Ulf Wiger, QPQ AG"}.
|
||||
{package_id,{"uwiger","gmhive_client",{0,5,1}}}.
|
||||
{deps,[{"uwiger","gmhive_worker",{0,5,1}},
|
||||
{"uwiger","gmcuckoo",{1,2,4}},
|
||||
{"otpr","eblake2",{1,0,1}},
|
||||
{"otpr","base58",{0,1,1}},
|
||||
{"otpr","gmserialization",{0,1,3}},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user