From 7ea023b02f832f32bbb67802a14cc3c62e6ba0d5 Mon Sep 17 00:00:00 2001 From: Christian Koch Date: Fri, 15 Jul 2022 16:00:57 -0500 Subject: [PATCH] update GH workflow --- .github/workflows/elixir.yml | 18 ++++++++---------- README.md | 17 +++++++++-------- mix.exs | 2 +- 3 files changed, 18 insertions(+), 19 deletions(-) diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index 90e7204..6d65d6a 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -1,5 +1,3 @@ -name: Elixir CI - on: push jobs: @@ -11,11 +9,11 @@ jobs: image: elixir:1.13.1-alpine steps: - - uses: actions/checkout@v1 - - name: Install Dependencies - apk add --no-cache build-base - MIX_ENV=test mix local.rebar --force - MIX_ENV=test mix local.hex --force - MIX_ENV=test mix deps.get - - name: Run Tests - run: MIX_ENV=test mix tst \ No newline at end of file + - uses: actions/checkout@v1 + - name: Install Dependencies + apk add --no-cache build-base + MIX_ENV=test mix local.rebar --force + MIX_ENV=test mix local.hex --force + MIX_ENV=test mix deps.get + - name: Run Tests + run: MIX_ENV=test mix tst \ No newline at end of file diff --git a/README.md b/README.md index af4d023..66f0b95 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,16 @@ Use at your peril, _for now._ mix ex_factor --module TestModule.Here --function my_func --arity 1 --target NewModule.Test ``` +## Roadmap TODONE + - [X] Write a mix task to invoke the Refactorer + - [X] dry-run option + - [X] CLI output, list files changed and created. + - [X] format changes + ## Roadmap TODO - [] Update .exs files too? - - [] Write tests to ensure we can find modules within and across umbrella apps. + - [] Write tests to ensure we can find modules across umbrella apps. - [] Add configuration hooks? - [] find dead functions - [] find module attrs and also move them? @@ -29,12 +35,6 @@ Use at your peril, _for now._ - [] Write the module code to rename usages of the refactored function - [] guthub actions, run test suite -## Roadmap TODONE - - [X] Write a mix task to invoke the Refactorer - - [X] dry-run option - - [X] CLI output, list files changed and created. - - [X] format changes - ## Installation If [available in Hex](https://hex.pm/docs/publish), the package can be installed @@ -52,4 +52,5 @@ Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_do and published on [HexDocs](https://hexdocs.pm). Once published, the docs can be found at [https://hexdocs.pm/ex_factor](https://hexdocs.pm/ex_factor). -REFACTORY, just in case. \ No newline at end of file +Alternate name: + REFACTORY, just in case. \ No newline at end of file diff --git a/mix.exs b/mix.exs index bcb7bb2..fee9e39 100644 --- a/mix.exs +++ b/mix.exs @@ -5,7 +5,7 @@ defmodule ExFactor.MixProject do [ app: :ex_factor, name: "ExFactor", - version: "0.2.0", + version: "0.2.1", elixir: "~> 1.12", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod,