diff --git a/Makefile b/Makefile index b2d0b4b..4be4d13 100644 --- a/Makefile +++ b/Makefile @@ -7,3 +7,10 @@ include priv/make/code.mk include priv/make/docs.mk +hex-publish: + @echo "\nPublishing to hex.pm ...\n" + rm -rf doc + mkdir doc + cp priv/html/docs-redirect.html doc/index.html + rebar3 hex publish + rm -rf doc diff --git a/priv/html/docs-redirect.html b/priv/html/docs-redirect.html new file mode 100644 index 0000000..7061c8a --- /dev/null +++ b/priv/html/docs-redirect.html @@ -0,0 +1,12 @@ + + + +
+ + + + +Redirecting to main project docs ...
+ + + diff --git a/src/kla.app.src b/src/kla.app.src index b9fbd42..c82786d 100644 --- a/src/kla.app.src +++ b/src/kla.app.src @@ -1,17 +1,15 @@ %% -*- erlang -*- -{application, kla, - [ +{application, kla, [ %% A quick description of the application. {description, "An LFE Wrapper Library used to Dress Up Erlang Libraries in a Lispy Costume"}, %% The version of the application - {vsn, "0.9.0"}, + {vsn, "0.9.1"}, %% All modules used by the application. - {modules, - [ + {modules, [ kla - ]}, + ]}, %% All of the registered names the application uses. This can be ignored. {registered, []}, @@ -19,11 +17,10 @@ %% Applications that are to be started prior to this one. This can be ignored %% leave it alone unless you understand it well and let the .rel files in %% your release handle this. - {applications, - [ + {applications, [ kernel, stdlib - ]}, + ]}, %% OTP application loader will load, but not start, included apps. Again %% this can be ignored as well. To load but not start an application it @@ -36,11 +33,16 @@ %% Hex.pm metadata {pkg_name, kla}, - {maintainers, ["Duncan McGreggor"]}, {licenses, ["BSD-3"]}, - {links, - [{"GitHub", "https://github.com/lfex/kla"}, + {links, [ + {"GitHub", "https://github.com/lfex/kla"}, {"Gitlab", "https://gitlab.com/lfex/kla"}, {"Hex", "https://hex.pm/packages/kla"} - ]} - ]}. + ]}, + {exclude_files, [ + "priv/images/*", + "priv/html/*", + "priv/make/*", + "priv/scripts/*" + ]} +]}.