diff --git a/README.md b/README.md index 420d060..cd309e1 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ [![][project-logo]][project-logo-large] -*An LFE Library for the Framework-agnostic Generation of Static HTML Content* +*An LFE Library for framework-agnostic generation of static HTML content* #### Contents @@ -97,7 +97,7 @@ TBD (See upcoming [feature tickets](https://github.com/lfex/poise/issues?q=is%3A ## License [↟](#contents) -Copyright © 2017, Duncan McGreggor +Copyright © 2017-2024, Duncan McGreggor Apache License, Version 2.0 @@ -107,7 +107,7 @@ Apache License, Version 2.0 [https://www.merriam-webster.com/dictionary/poise](https://www.merriam-webster.com/dictionary/poise) - +[//]: ---Named-Links--- [project-logo]: priv/images/logo.png [project-logo-large]: priv/images/logo-large.png diff --git a/rebar.config b/rebar.config index 62f48a1..1127c9d 100644 --- a/rebar.config +++ b/rebar.config @@ -1,48 +1,63 @@ +{erl_opts, [debug_info, {no_auto_import, [{get,2}]}]}. + {deps, [ - {lfe, {git, "https://github.com/rvirding/lfe.git", {branch, "develop"}}} -]}. + {lfe, "2.1.2"} + ]}. + {plugins, [ - {'lfe-compile', {git, "https://github.com/lfe-rebar3/compile.git", {tag, "0.8.0-rc3"}}} - ]}. + {rebar3_lfe, "0.4.8"} +]}. {provider_hooks, [ - {pre, [{compile, {lfe, compile}}]} + {pre, [ + {compile, {lfe, compile}} + ]} +]}. + +{xref_checks, [ + undefined_function_calls, undefined_functions, locals_not_used, + deprecated_function_calls, deprecated_functions +]}. + +{dialyzer, [ + {warnings, [unknown]} ]}. {profiles, [ - %% As an alternative to the default Github repos, you can use the Gitlab - %% mirror with the following: - %% $ rebar3 as gitlab compile - {gitlab, [ - {deps, [ - {lfe, {git, "https://gitlab.com/lfe/lfe.git", {tag, "v1.2.0"}}} - ]}, - {plugins, [ - {'lfe-compile', {git, "https://gitlab.com/lfe-rebar3/compile.git", {tag, "0.8.0-rc2"}}}]} - ]}, - %% Or use Hex.pm instead with: - %% $ rebar3 as hexpm compile - {hexpm, [ - {deps, [{lfe, "1.2.0"}]}, - {plugins, [{rebar3_lfe_compile, "0.8.0-rc2"}]} - ]}, - {dev, [ - {deps, [ - {lfe, {git, "https://github.com/rvirding/lfe.git", {branch, "develop"}}} - ]}, - {plugins, [ - {'lfe-version', {git, "https://github.com/lfe-rebar3/version.git", {tag, "0.5.0-rc2"}}}, - {'lfe-clean', {git, "https://github.com/lfe-rebar3/clean.git", {tag, "0.4.0-rc1"}}} - ]} + {test, [ + {deps, [ + {proper, "1.4.0"}, + {ltest, "0.13.4"} + ]}, + {plugins, [ + {rebar3_proper, "0.12.1"} + ]}, + {eunit_opts, [verbose]}, + {erl_opts, [ + {src_dirs, ["src", "test"]} + ]} + ]} +]}. + +{alias, [ + {repl, [ + compile, + {lfe, repl} ]}, - {test, [ - {deps, [ - {ltest, {git, "https://github.com/lfex/ltest.git", {tag, "0.10.0-rc6"}}}, - {'lfe-version', {git, "https://github.com/lfe-rebar3/version.git", {tag, "0.5.0-rc2"}}}]}, - {plugins, [ - {'lfe-test', {git, "https://github.com/lfe-rebar3/test.git", {tag, "0.4.0-rc4"}}}]}, - {eunit_opts, [verbose]}, - {erl_opts, [{src_dirs, ["src", "test"]}]} - ]} - ]}. + {ltest, [ + compile, + {lfe, ltest} + ]}, + {coverage, [ + {proper, "-c"}, + {cover, "-v --min_coverage=0"} + ]}, + {check, [ + compile, + % xref, + % dialyzer, + ltest, + coverage + ]} +]}. diff --git a/src/poise.app.src b/src/poise.app.src index 18439e5..387d2a8 100644 --- a/src/poise.app.src +++ b/src/poise.app.src @@ -1,6 +1,6 @@ {application, poise, - [{description, "An LFE Library for the Framework-agnostic Generation of Static HTML Content"}, - {vsn, "0.1.0-alpha"}, + [{description, "An LFE Library for framework-agnostic generation of static HTML content"}, + {vsn, "0.1.0"}, {modules, [poise, equipoise]}, @@ -11,11 +11,13 @@ %% Package metadata: {pkg_name, poise}, - {maintainers, ["Duncan McGreggor"]}, {licenses, ["Apache-2"]}, {links, [{"GitHub", "https://github.com/lfex/poise"}, - {"Gitlab", "https://gitlab.com/lfex/poise"}, {"Hex", "https://hex.pm/packages/poise"} - ]} + ]}, + {exclude_files, [ + "priv/images/*", + "priv/testing/*" + ]} ]}.