From bbbbcc31f546036f9a7d772f3b979c33eed3e8a0 Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Sun, 14 Jul 2024 22:08:49 -0400 Subject: [PATCH] docs: improve add_to_ash_postgres task docs --- lib/mix/tasks/ash_money.add_to_ash_postgres.ex | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/mix/tasks/ash_money.add_to_ash_postgres.ex b/lib/mix/tasks/ash_money.add_to_ash_postgres.ex index 7cd325d..243520b 100644 --- a/lib/mix/tasks/ash_money.add_to_ash_postgres.ex +++ b/lib/mix/tasks/ash_money.add_to_ash_postgres.ex @@ -1,6 +1,11 @@ defmodule Mix.Tasks.AshMoney.AddToAshPostgres do - @moduledoc "Adds AshMoney.AshPostgresExtension to installed_extensions and installs :ex_money_sql." - @shortdoc @moduledoc + @shortdoc "Adds AshMoney.AshPostgresExtension to installed_extensions and installs :ex_money_sql." + @moduledoc """ + #{@shortdoc} + + This is called automatically by `mix igniter.install ash_money` if `AshPostgres` is installed at the time. + This task is useful if you install `ash_postgres` *after* installing `ash_money`. + """ require Igniter.Code.Common use Igniter.Mix.Task