Enable quokka with :module_directives rule
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
defmodule Mix.Tasks.Esbuild.CheckVersion do
|
||||
use Mix.Task
|
||||
|
||||
@shortdoc "Checks the the current Esbuild version is the latest"
|
||||
@moduledoc """
|
||||
Checks the the current esbuild version is the latest.
|
||||
@@ -8,6 +6,8 @@ defmodule Mix.Tasks.Esbuild.CheckVersion do
|
||||
Exits with 0 if versions match, 1 if the esbuild needs to be updated.
|
||||
"""
|
||||
|
||||
use Mix.Task
|
||||
|
||||
alias Mix.Tasks.Esbuild.Release
|
||||
|
||||
@impl Mix.Task
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
defmodule Mix.Tasks.Esbuild.UpdateVersion do
|
||||
use Mix.Task
|
||||
|
||||
@shortdoc "Update the configured esbuild versino to latest."
|
||||
@moduledoc """
|
||||
Update the configured esbuild versino to latest.
|
||||
"""
|
||||
|
||||
use Mix.Task
|
||||
|
||||
alias Mix.Tasks.Esbuild.Release
|
||||
|
||||
@impl Mix.Task
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
defmodule Mix.Tasks.MusicBrainz.RefreshFixtures do
|
||||
use Mix.Task
|
||||
|
||||
@shortdoc "Fetch and recreate test fixtures that depend on network resources."
|
||||
@moduledoc """
|
||||
Fetch and recreate test fixtures that depend on network resources.
|
||||
"""
|
||||
|
||||
use Mix.Task
|
||||
|
||||
require Logger
|
||||
|
||||
@fixtures_folder Path.join([File.cwd!(), "test/support/fixtures/music_brainz"])
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
defmodule Mix.Tasks.MusicLibrary.Prod.DbMigrate do
|
||||
use Mix.Task
|
||||
@shortdoc "Run migrations on the production database"
|
||||
@moduledoc """
|
||||
Run migrations on the production database.
|
||||
@@ -7,6 +6,8 @@ defmodule Mix.Tasks.MusicLibrary.Prod.DbMigrate do
|
||||
Requires the `flyctl` CLI to be installed and authenticated.
|
||||
"""
|
||||
|
||||
use Mix.Task
|
||||
|
||||
import Mix.Tasks.MusicLibrary.Prod.Helpers
|
||||
|
||||
@impl Mix.Task
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
defmodule Mix.Tasks.MusicLibrary.Prod.DbPull do
|
||||
use Mix.Task
|
||||
@shortdoc "Pulls the latest database from the production server"
|
||||
@moduledoc """
|
||||
Pulls the latest database from the production server.
|
||||
|
||||
Requires the `flyctl` CLI to be installed and authenticated.
|
||||
"""
|
||||
use Mix.Task
|
||||
|
||||
import Mix.Tasks.MusicLibrary.Prod.Helpers
|
||||
|
||||
@impl Mix.Task
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
defmodule Mix.Tasks.MusicLibrary.Prod.DbVacuum do
|
||||
use Mix.Task
|
||||
@shortdoc "Force VACUUM the production database"
|
||||
@moduledoc """
|
||||
Force VACUUM the production database. This is necessary to make sure that all
|
||||
@@ -8,6 +7,8 @@ defmodule Mix.Tasks.MusicLibrary.Prod.DbVacuum do
|
||||
Requires the `flyctl` CLI to be installed and authenticated.
|
||||
"""
|
||||
|
||||
use Mix.Task
|
||||
|
||||
import Mix.Tasks.MusicLibrary.Prod.Helpers
|
||||
|
||||
@impl Mix.Task
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
defmodule Mix.Tasks.MusicLibrary.Prod.Ping do
|
||||
use Mix.Task
|
||||
@shortdoc "Ping the production instance"
|
||||
@moduledoc """
|
||||
Ping the production instance - useful to wake it up if suspended.
|
||||
"""
|
||||
|
||||
use Mix.Task
|
||||
|
||||
@impl Mix.Task
|
||||
def run(_args) do
|
||||
Application.ensure_all_started(:req)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
defmodule Mix.Tasks.Obsidian.Import do
|
||||
use Mix.Task
|
||||
|
||||
@shortdoc "Import records from an Obsidian Vault containing Media entries "
|
||||
@moduledoc """
|
||||
Import records from an Obsidian Vault containing Media entries.
|
||||
@@ -10,6 +8,8 @@ defmodule Mix.Tasks.Obsidian.Import do
|
||||
`mix obsidian.import path/to/vault`
|
||||
"""
|
||||
|
||||
use Mix.Task
|
||||
|
||||
@impl Mix.Task
|
||||
def run(args) do
|
||||
case args do
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
defmodule Mix.Tasks.Tailwind.CheckVersion do
|
||||
use Mix.Task
|
||||
|
||||
@shortdoc "Checks the the current Tailwind version is the latest"
|
||||
@moduledoc """
|
||||
Checks the the current Tailwind version is the latest.
|
||||
@@ -8,6 +6,8 @@ defmodule Mix.Tasks.Tailwind.CheckVersion do
|
||||
Exits with 0 if versions match, 1 if the Tailwind needs to be updated.
|
||||
"""
|
||||
|
||||
use Mix.Task
|
||||
|
||||
alias Mix.Tasks.Tailwind.Release
|
||||
|
||||
@impl Mix.Task
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
defmodule Mix.Tasks.Tailwind.UpdateVersion do
|
||||
use Mix.Task
|
||||
|
||||
@shortdoc "Update the configured tailwind versino to latest."
|
||||
@moduledoc """
|
||||
Update the configured tailwind versino to latest.
|
||||
"""
|
||||
|
||||
use Mix.Task
|
||||
|
||||
alias Mix.Tasks.Tailwind.Release
|
||||
|
||||
@impl Mix.Task
|
||||
|
||||
Reference in New Issue
Block a user