Packages

A collection of Livebook utility modules and mix tasks for managing livebook projects

Current section

Files

Jump to
Raw

mix.exs

defmodule LivebookUtils.MixProject do
use Mix.Project
@version "0.0.1"
@source_url "https://github.com/brooklin_jazz/livebook_utils"
def project do
[
app: :livebook_utils,
version: "0.1.0",
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.30.9"}
]
end
defp docs do
[
source_ref: "v#{@version}",
main: "readme",
source_url: @source_url,
logo: "assets/images/logo.png",
extras: [
"README.md"
],
before_closing_head_tag: &before_closing_head_tag/1
]
end
defp before_closing_head_tag(:html) do
"""
<!-- HTML injected at the end of the <head> element -->
<!-- Remix Icons -->
<link href="https://cdn.jsdelivr.net/npm/remixicon@3.5.0/fonts/remixicon.css" rel="stylesheet">
"""
end
defp before_closing_head_tag(:epub), do: ""
# Hex package configuration
defp package do
%{
maintainers: ["Brooklin Myers"],
licenses: ["MIT"],
description:
"A collection of Livebook utility modules and mix tasks for managing livebook projects",
links: %{
"GitHub" => @source_url
},
source_url: @source_url
}
end
end