Rename Pleroma.Mix.Tasks.Common -> Mix.Pleroma and import it's functions
authorrinpatch <rinpatch@sdf.org>
Wed, 19 Jun 2019 23:05:19 +0000 (02:05 +0300)
committerrinpatch <rinpatch@sdf.org>
Wed, 19 Jun 2019 23:08:02 +0000 (02:08 +0300)
commit8c7a382027b3cf3bf4815a7b0ce753b6e7c7afa5
tree3829c13c4b59310ea83f131dcb247314dbeb4164
parent524a66806d21ace82d3edab5e25eecb076a00305
Rename Pleroma.Mix.Tasks.Common -> Mix.Pleroma and import it's functions
instead of aliasing

This seems to be the convention for functions that can be reused between
different mix tasks in all Elixir projects I've seen and it gets rid on
an error message when someone runs mix pleroma.common

Also in this commit by accident:
- Move benchmark task under a proper namespace
- Insert a space after the prompt
lib/mix/pleroma.ex [moved from lib/mix/tasks/pleroma/common.ex with 94% similarity]
lib/mix/tasks/pleroma/benchmark.ex [moved from lib/mix/tasks/benchmark.ex with 82% similarity]
lib/mix/tasks/pleroma/config.ex
lib/mix/tasks/pleroma/database.ex
lib/mix/tasks/pleroma/instance.ex
lib/mix/tasks/pleroma/relay.ex
lib/mix/tasks/pleroma/uploads.ex
lib/mix/tasks/pleroma/user.ex