From 67a43e0d1f9d8d5c4ce8772f3e3e3885ac2ef59f Mon Sep 17 00:00:00 2001 From: Christian Koch Date: Wed, 20 Jul 2022 11:17:07 -0500 Subject: [PATCH] Add changex --- README.md | 2 +- mix.exs | 12 +++++++----- mix.lock | 1 + 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b9c268c..f3cfdf4 100644 --- a/README.md +++ b/README.md @@ -29,13 +29,13 @@ Use at your peril, _for now._ - [] Add and configure CHANGELOG tracking. - [] How does this work with macro code? Does that even make sense as a case to handle? - [] Update .exs files too? + - [] update test file refs by CLI option - [] Write tests to ensure we can find modules across umbrella apps. - [] Add configuration hooks? - [] find dead functions - [] find module attrs and also move them? - [] find types referenced in the moved specs - [] find private functions references in refactored fn bodies. - - [] update test file refs by CLI option - [] ElixirLS integration for VSCode? - [] Write the module code to rename usages of the refactored function diff --git a/mix.exs b/mix.exs index 2b6cccb..0d585c5 100644 --- a/mix.exs +++ b/mix.exs @@ -39,7 +39,8 @@ defmodule ExFactor.MixProject do defp deps do [ - {:ex_doc, ">= 0.0.0", only: :dev, runtime: false} + {:ex_doc, ">= 0.0.0", only: :dev, runtime: false}, + {:changex, ">= 0.0.0", only: :dev, runtime: false} ] end @@ -55,10 +56,11 @@ defmodule ExFactor.MixProject do logo: "assets/X.jpg", source_ref: "v#{@version}", source_url: @source_url, - main: @name - # extras: [ - # "CHANGELOG.md" - # ] + main: "readme", + extras: [ + "README.md", + "CHANGELOG.md" + ] ] end end diff --git a/mix.lock b/mix.lock index 969b73a..3ccb14a 100644 --- a/mix.lock +++ b/mix.lock @@ -1,4 +1,5 @@ %{ + "changex": {:hex, :changex, "0.3.0", "ccba573ffc7f42b7535a31ee457c7e6d23628480d17afb0a7ce9695dfbde2ba1", [:mix], [], "hexpm", "8d2a4549f006835ef7d26bbf1e452d0d4c4093865db9998b50aa426cb2fe19b6"}, "earmark_parser": {:hex, :earmark_parser, "1.4.26", "f4291134583f373c7d8755566122908eb9662df4c4b63caa66a0eabe06569b0a", [:mix], [], "hexpm", "48d460899f8a0c52c5470676611c01f64f3337bad0b26ddab43648428d94aabc"}, "ex_doc": {:hex, :ex_doc, "0.28.4", "001a0ea6beac2f810f1abc3dbf4b123e9593eaa5f00dd13ded024eae7c523298", [:mix], [{:earmark_parser, "~> 1.4.19", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1", [hex: :makeup_erlang, repo: "hexpm", optional: false]}], "hexpm", "bf85d003dd34911d89c8ddb8bda1a958af3471a274a4c2150a9c01c78ac3f8ed"}, "makeup": {:hex, :makeup, "1.1.0", "6b67c8bc2882a6b6a445859952a602afc1a41c2e08379ca057c0f525366fc3ca", [:mix], [{:nimble_parsec, "~> 1.2.2 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "0a45ed501f4a8897f580eabf99a2e5234ea3e75a4373c8a52824f6e873be57a6"},