This commit is contained in:
Craig Everett 2025-03-06 16:51:21 +09:00
parent a9e5bb7d39
commit edb74444ae
58 changed files with 31 additions and 23 deletions

View File

@ -1 +1 @@
0.13.6
0.13.9

View File

@ -1,6 +1,6 @@
{application,zx,
[{description,"An Erlang development tool and Zomp user client"},
{vsn,"0.13.6"},
{vsn,"0.13.9"},
{applications,[stdlib,kernel]},
{modules,[zx,zx_auth,zx_conn,zx_conn_sup,zx_daemon,zx_key,
zx_lib,zx_local,zx_net,zx_peer,zx_peer_man,

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -24,7 +24,7 @@
%%% @end
-module(zx).
-vsn("0.13.6").
-vsn("0.13.9").
-behavior(application).
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").
@ -318,6 +318,10 @@ do(_) ->
done(ok) ->
ok = zx_daemon:idle(),
init:stop(0);
done({error, shutdown}) ->
ok = tell(info, "Shutdown message received."),
ok = zx_daemon:idle(),
init:stop(0);
done({error, Code}) when is_integer(Code) ->
ok = zx_daemon:idle(),
Message = "Operation failed with code: ~w",
@ -947,9 +951,13 @@ run4(PackageID, RunArgs) ->
run5(Type, PackageID, Meta, Dir, Deps, NewArgs) ->
true = os:putenv("zx_include", filename:join(os:getenv("ZX_DIR"), "include")),
Required = [{fetch, PackageID} | Deps],
{ok, CWD} = file:get_cwd(),
case prepare(Required) of
ok -> execute(Type, PackageID, Meta, Dir, NewArgs);
Error -> Error
ok ->
ok = file:set_cwd(CWD),
execute(Type, PackageID, Meta, Dir, NewArgs);
Error ->
Error
end.

View File

@ -9,7 +9,7 @@
%%% @end
-module(zx_auth).
-vsn("0.13.6").
-vsn("0.13.9").
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").
-license("GPL-3.0").

View File

@ -7,7 +7,7 @@
%%% @end
-module(zx_conn).
-vsn("0.13.6").
-vsn("0.13.9").
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").
-license("GPL-3.0").

View File

@ -5,7 +5,7 @@
%%% @end
-module(zx_conn_sup).
-vsn("0.13.6").
-vsn("0.13.9").
-behavior(supervisor).
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").

View File

@ -138,7 +138,7 @@
%%% @end
-module(zx_daemon).
-vsn("0.13.6").
-vsn("0.13.9").
-behavior(gen_server).
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").

View File

@ -8,7 +8,7 @@
%%% @end
-module(zx_key).
-vsn("0.13.6").
-vsn("0.13.9").
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").
-license("GPL-3.0").

View File

@ -10,7 +10,7 @@
%%% @end
-module(zx_lib).
-vsn("0.13.6").
-vsn("0.13.9").
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").
-license("GPL-3.0").

View File

@ -6,7 +6,7 @@
%%% @end
-module(zx_local).
-vsn("0.13.6").
-vsn("0.13.9").
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").
-license("GPL-3.0").

View File

@ -5,7 +5,7 @@
%%% @end
-module(zx_net).
-vsn("0.13.6").
-vsn("0.13.9").
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").
-license("GPL-3.0").

View File

@ -8,7 +8,7 @@
%%% @end
-module(zx_peer).
-vsn("0.13.6").
-vsn("0.13.9").
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").
-license("GPL-3.0").

View File

@ -9,7 +9,7 @@
%%% @end
-module(zx_peer_man).
-vsn("0.13.6").
-vsn("0.13.9").
-behavior(gen_server).
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").

View File

@ -6,7 +6,7 @@
%%% @end
-module(zx_peer_sup).
-vsn("0.13.6").
-vsn("0.13.9").
-behaviour(supervisor).
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").

View File

@ -10,7 +10,7 @@
%%% @end
-module(zx_peers).
-vsn("0.13.6").
-vsn("0.13.9").
-behavior(supervisor).
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").

View File

@ -5,7 +5,7 @@
%%% @end
-module(zx_proxy).
-vsn("0.13.6").
-vsn("0.13.9").
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").
-license("GPL-3.0").

View File

@ -5,7 +5,7 @@
%%% @end
-module(zx_sup).
-vsn("0.13.6").
-vsn("0.13.9").
-behavior(supervisor).
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").

View File

@ -6,7 +6,7 @@
%%% @end
-module(zx_tty).
-vsn("0.13.6").
-vsn("0.13.9").
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").
-license("GPL-3.0").

View File

@ -5,7 +5,7 @@
%%% @end
-module(zx_userconf).
-vsn("0.13.6").
-vsn("0.13.9").
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").
-license("GPL-3.0").

View File

@ -7,7 +7,7 @@
%%% @end
-module(zx_zsp).
-vsn("0.13.6").
-vsn("0.13.9").
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").
-license("GPL-3.0").

View File

@ -4,7 +4,7 @@
{prefix,"zx_"}.
{author,"Craig Everett"}.
{desc,"An Erlang development tool and Zomp user client"}.
{package_id,{"otpr","zx",{0,13,6}}}.
{package_id,{"otpr","zx",{0,13,9}}}.
{deps,[]}.
{key_name,none}.
{a_email,"zxq9@zxq9.com"}.